summaryrefslogtreecommitdiff
path: root/test/Transforms/InstCombine/2002-12-05-MissedConstProp.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/InstCombine/2002-12-05-MissedConstProp.ll')
-rw-r--r--test/Transforms/InstCombine/2002-12-05-MissedConstProp.ll4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/Transforms/InstCombine/2002-12-05-MissedConstProp.ll b/test/Transforms/InstCombine/2002-12-05-MissedConstProp.ll
index 22574f77f1..49e55c620a 100644
--- a/test/Transforms/InstCombine/2002-12-05-MissedConstProp.ll
+++ b/test/Transforms/InstCombine/2002-12-05-MissedConstProp.ll
@@ -1,4 +1,6 @@
-; RUN: opt < %s -instcombine -S | not grep add
+; RUN: opt < %s -instcombine -S | FileCheck %s
+
+; CHECK-NOT: add
define i32 @test(i32 %A) {
%A.neg = sub i32 0, %A ; <i32> [#uses=1]