New testcases for sub/neg reassociation
authorChris Lattner <sabre@nondot.org>
Thu, 16 May 2002 00:56:59 +0000 (00:56 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 16 May 2002 00:56:59 +0000 (00:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2635 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/Reassociate/2002-05-15-AgressiveSubMove.ll
test/Transforms/Reassociate/subtest.ll

index 678080dd9229aa470d237f54e51a6cc5dc4fe38d..8646ae3cabcb1f0a62ee45505f1f76286b2a4ad3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: if as < %s | opt -reassociate -instcombine | dis | grep add
+; RUN: if as < %s | opt -reassociate -instcombine -constprop -dce | dis | grep add
 ; RUN: then exit 1
 ; RUN: else exit 0
 ; RUN: fi
index 9b64966553613842a8d7d043e356be8f371c5d5b..e3a7adf5aed7f8caf35d010f275cf6b2f7f7f4bf 100644 (file)
@@ -1,6 +1,6 @@
 ; With sub reassociation, constant folding can eliminate the 12 and -12 constants.
 ;
-; RUN: if as < %s | opt -reassociate -constprop -instcombine -die | dis | grep add
+; RUN: if as < %s | opt -reassociate -constprop -instcombine -die | dis | grep 12
 ; RUN: then exit 1
 ; RUN: else exit 0
 ; RUN: fi