linux-packaging-mono/external/llvm/test/CodeGen/SPARC/LeonDetectRoundChangePassUT.ll
Xamarin Public Jenkins (auto-signing) f32dbaf0b2 Imported Upstream version 5.18.0.225
Former-commit-id: 10196d987d5fc5564b9d3b33b1fdf13190f4d0b5
2018-12-21 19:01:49 +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
}