1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc -mtriple=riscv32 -verify-machineinstrs < %s \
3 ; RUN: | FileCheck -check-prefix=RV32I %s
4 ; RUN: llc -mtriple=riscv64 -verify-machineinstrs < %s \
5 ; RUN: | FileCheck -check-prefix=RV64I %s
7 declare i32 @llvm.get.rounding()
9 define i32 @test_flt_rounds() nounwind {
10 ; RV32I-LABEL: test_flt_rounds:
12 ; RV32I-NEXT: li a0, 1
15 ; RV64I-LABEL: test_flt_rounds:
17 ; RV64I-NEXT: li a0, 1
19 %1 = call i32 @llvm.get.rounding()