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)
llvm-svn: 284605

llvm/test/CodeGen/SPARC/LeonDetectRoundChangePassUT.ll

index bcb350e..70203e8 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)