]> granicus.if.org Git - llvm/commitdiff
Sparc: fix test.
authorTim Northover <tnorthover@apple.com>
Wed, 19 Oct 2016 15:55:11 +0000 (15:55 +0000)
committerTim Northover <tnorthover@apple.com>
Wed, 19 Oct 2016 15:55:11 +0000 (15:55 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@284605 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/SPARC/LeonDetectRoundChangePassUT.ll

index bcb350ebb0041500c1aeb591ce55269e71fcfd62..70203e8eb5241bbe6934521378d773ef7b584564 100644 (file)
@@ -1,15 +1,4 @@
-; RUN: llc %s -O0 -march=sparc -mcpu=leon3 -mattr=+detectroundchange -o -  |& 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
-}
-; RUN: llc %s -O0 -march=sparc -mcpu=leon3 -mattr=+detectroundchange -o -  |& grep "detect rounding changes"
+; RUN: llc %s -O0 -march=sparc -mcpu=leon3 -mattr=+detectroundchange -o - 2>&1 | grep "detect rounding changes"
 
 ; Function Attrs: nounwind
 declare i32 @fesetround(i32)