llvm-project/llvm/test/CodeGen/SPARC/LeonDetectRoundChangePassUT.ll

12 lines
267 B
LLVM
Raw Normal View History

2016-10-19 23:55:11 +08:00
; RUN: llc %s -O0 -march=sparc -mcpu=leon3 -mattr=+detectroundchange -o - 2>&1 | grep "detect rounding changes"
; Function Attrs: nounwind
declare i32 @fesetround(i32)
define void @test_round_change() {
entry:
%call = call i32 @fesetround(i32 2048)
ret void
}