[llvm-commits] [llvm] r85770 - /llvm/trunk/test/Transforms/InstCombine/store.ll
Chris Lattner
sabre at nondot.org
Sun Nov 1 17:58:04 PST 2009
Author: lattner
Date: Sun Nov 1 19:58:03 2009
New Revision: 85770
URL: http://llvm.org/viewvc/llvm-project?rev=85770&view=rev
Log:
convert to filecheck
Modified:
llvm/trunk/test/Transforms/InstCombine/store.ll
Modified: llvm/trunk/test/Transforms/InstCombine/store.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/InstCombine/store.ll?rev=85770&r1=85769&r2=85770&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/InstCombine/store.ll (original)
+++ llvm/trunk/test/Transforms/InstCombine/store.ll Sun Nov 1 19:58:03 2009
@@ -1,11 +1,13 @@
-; RUN: opt < %s -instcombine -S | \
-; RUN: grep -v {store.*,.*null} | not grep store
+; RUN: opt < %s -instcombine -S | FileCheck %s
define void @test1(i32* %P) {
store i32 undef, i32* %P
store i32 123, i32* undef
store i32 124, i32* null
ret void
+; CHECK: @test1(
+; CHECK-NEXT: store i32 undef, i32* null
+; CHECK-NEXT: ret void
}
define void @test2(i32* %P) {
@@ -13,5 +15,7 @@
%Y = add i32 %X, 0 ; <i32> [#uses=1]
store i32 %Y, i32* %P
ret void
+; CHECK: @test2
+; CHECK-NEXT: ret void
}
More information about the llvm-commits
mailing list