summaryrefslogtreecommitdiffstats
path: root/llvm/test/Regression/Transforms/ConstProp/2002-05-03-NotOperator.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Regression/Transforms/ConstProp/2002-05-03-NotOperator.ll')
-rw-r--r--llvm/test/Regression/Transforms/ConstProp/2002-05-03-NotOperator.ll5
1 files changed, 1 insertions, 4 deletions
diff --git a/llvm/test/Regression/Transforms/ConstProp/2002-05-03-NotOperator.ll b/llvm/test/Regression/Transforms/ConstProp/2002-05-03-NotOperator.ll
index cbc1b6c6c8b..d184c08c073 100644
--- a/llvm/test/Regression/Transforms/ConstProp/2002-05-03-NotOperator.ll
+++ b/llvm/test/Regression/Transforms/ConstProp/2002-05-03-NotOperator.ll
@@ -4,10 +4,7 @@
; Fix #2: The unary not instruction now no longer exists. Change to xor.
-; RUN: if as < %s | opt -constprop | dis | grep 'int 0'
-; RUN: then exit 1
-; RUN: else exit 0
-; RUN: fi
+; RUN: as < %s | opt -constprop | dis | not grep 'int 0'
int "test1"() {
%R = xor int 123, -1
OpenPOWER on IntegriCloud