blob: 70203e8eb5241bbe6934521378d773ef7b584564 [file] [log] [blame]
Tim Northover34c83da2016-10-19 15:55:11 +00001; RUN: llc %s -O0 -march=sparc -mcpu=leon3 -mattr=+detectroundchange -o - 2>&1 | grep "detect rounding changes"
Chris Dewhurst2c3cdd62016-10-19 14:01:06 +00002
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}