blob: bcb350ebb0041500c1aeb591ce55269e71fcfd62 [file] [log] [blame]
Chris Dewhurst2c3cdd62016-10-19 14:01:06 +00001; RUN: llc %s -O0 -march=sparc -mcpu=leon3 -mattr=+detectroundchange -o - |& grep "detect rounding changes"
2
3; Function Attrs: nounwind
4declare i32 @fesetround(i32)
5
6define void @test_round_change() {
7entry:
8 %call = call i32 @fesetround(i32 2048)
9
10 ret void
11}
12; RUN: llc %s -O0 -march=sparc -mcpu=leon3 -mattr=+detectroundchange -o - |& grep "detect rounding changes"
13
14; Function Attrs: nounwind
15declare i32 @fesetround(i32)
16
17define void @test_round_change() {
18entry:
19 %call = call i32 @fesetround(i32 2048)
20
21 ret void
22}