diff options
author | Chris Lattner <sabre@nondot.org> | 2002-05-16 00:56:59 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-05-16 00:56:59 +0000 |
commit | c95057b1b725c21a45eb5e8c1d65523d3c1673e9 (patch) | |
tree | e7f55f23c4a414ffd214d64f02d05dbaae590600 | |
parent | 6759ca0994fc6d3ec4438f0a7598a5dca6b139d5 (diff) |
New testcases for sub/neg reassociation
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2635 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Transforms/Reassociate/2002-05-15-AgressiveSubMove.ll | 2 | ||||
-rw-r--r-- | test/Transforms/Reassociate/subtest.ll | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/Transforms/Reassociate/2002-05-15-AgressiveSubMove.ll b/test/Transforms/Reassociate/2002-05-15-AgressiveSubMove.ll index 678080dd92..8646ae3cab 100644 --- a/test/Transforms/Reassociate/2002-05-15-AgressiveSubMove.ll +++ b/test/Transforms/Reassociate/2002-05-15-AgressiveSubMove.ll @@ -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 diff --git a/test/Transforms/Reassociate/subtest.ll b/test/Transforms/Reassociate/subtest.ll index 9b64966553..e3a7adf5ae 100644 --- a/test/Transforms/Reassociate/subtest.ll +++ b/test/Transforms/Reassociate/subtest.ll @@ -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 |