[llvm] r284605 - Sparc: fix test.

Tim Northover via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 19 08:55:11 PDT 2016


Author: tnorthover
Date: Wed Oct 19 10:55:11 2016
New Revision: 284605

URL: http://llvm.org/viewvc/llvm-project?rev=284605&view=rev
Log:
Sparc: fix test.

Modified:
    llvm/trunk/test/CodeGen/SPARC/LeonDetectRoundChangePassUT.ll

Modified: llvm/trunk/test/CodeGen/SPARC/LeonDetectRoundChangePassUT.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/SPARC/LeonDetectRoundChangePassUT.ll?rev=284605&r1=284604&r2=284605&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/SPARC/LeonDetectRoundChangePassUT.ll (original)
+++ llvm/trunk/test/CodeGen/SPARC/LeonDetectRoundChangePassUT.ll Wed Oct 19 10:55:11 2016
@@ -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)




More information about the llvm-commits mailing list