aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/Reassociate/2002-05-15-AgressiveSubMove.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/Reassociate/2002-05-15-AgressiveSubMove.ll')
-rw-r--r--test/Transforms/Reassociate/2002-05-15-AgressiveSubMove.ll7
1 files changed, 2 insertions, 5 deletions
diff --git a/test/Transforms/Reassociate/2002-05-15-AgressiveSubMove.ll b/test/Transforms/Reassociate/2002-05-15-AgressiveSubMove.ll
index 8646ae3..94785f3 100644
--- a/test/Transforms/Reassociate/2002-05-15-AgressiveSubMove.ll
+++ b/test/Transforms/Reassociate/2002-05-15-AgressiveSubMove.ll
@@ -1,9 +1,6 @@
-; RUN: if as < %s | opt -reassociate -instcombine -constprop -dce | dis | grep add
-; RUN: then exit 1
-; RUN: else exit 0
-; RUN: fi
+; RUN: as < %s | opt -reassociate -instcombine -constprop -dce | dis | not grep add
-int "test"(int %A) {
+int %test(int %A) {
%X = add int %A, 1
%Y = add int %A, 1
%r = sub int %X, %Y