Tim Northover | 34c83da | 2016-10-19 15:55:11 +0000 | [diff] [blame] | 1 | ; RUN: llc %s -O0 -march=sparc -mcpu=leon3 -mattr=+detectroundchange -o - 2>&1 | grep "detect rounding changes" |
Chris Dewhurst | 2c3cdd6 | 2016-10-19 14:01:06 +0000 | [diff] [blame] | 2 | |
3 | ; Function Attrs: nounwind | ||||
4 | declare i32 @fesetround(i32) | ||||
5 | |||||
6 | define void @test_round_change() { | ||||
7 | entry: | ||||
8 | %call = call i32 @fesetround(i32 2048) | ||||
9 | |||||
10 | ret void | ||||
11 | } |