brintos

brintos / llvm-project-archived public Read only

0
0
Text · 582 B · df72a08 Raw
20 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc -mtriple=riscv32 -verify-machineinstrs < %s \3; RUN:   | FileCheck -check-prefix=RV32I %s4; RUN: llc -mtriple=riscv64 -verify-machineinstrs < %s \5; RUN:   | FileCheck -check-prefix=RV64I %s6 7define i32 @test_flt_rounds() nounwind {8; RV32I-LABEL: test_flt_rounds:9; RV32I:       # %bb.0:10; RV32I-NEXT:    li a0, 111; RV32I-NEXT:    ret12;13; RV64I-LABEL: test_flt_rounds:14; RV64I:       # %bb.0:15; RV64I-NEXT:    li a0, 116; RV64I-NEXT:    ret17  %1 = call i32 @llvm.get.rounding()18  ret i32 %119}20