1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 20:43:44 +02:00
llvm-mirror/test/CodeGen/SPARC/LeonDetectRoundChangePassUT.ll
Tim Northover 239e4565e1 Sparc: fix test.
llvm-svn: 284605
2016-10-19 15:55:11 +00:00

12 lines
267 B
LLVM

; 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
}