aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/SPARC/LeonDetectRoundChangePassUT.ll
blob: b84ebcafac592fc7f8f560596224db2a4164e298 (plain)
1
2
3
4
5
6
7
8
9
10
11
; RUN: llc %s -O0 -mtriple=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
}