diff options
author | Chris Lattner <sabre@nondot.org> | 2002-08-02 19:27:58 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-08-02 19:27:58 +0000 |
commit | 4a6e4b30b44048cdc7277b3d0264e71e47b5611c (patch) | |
tree | b5a74c0d9016473c5e23e93de27af920558bffe4 | |
parent | c7f9637a9d6359a3898531e7266fcb370da770c1 (diff) | |
download | external_llvm-4a6e4b30b44048cdc7277b3d0264e71e47b5611c.zip external_llvm-4a6e4b30b44048cdc7277b3d0264e71e47b5611c.tar.gz external_llvm-4a6e4b30b44048cdc7277b3d0264e71e47b5611c.tar.bz2 |
These tests should not run -dce pass to cleanup instcombine.
If instcombine is making dead instructions, ALL that should be used is -die
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3221 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Transforms/InstCombine/2002-08-02-CastTest.ll | 2 | ||||
-rw-r--r-- | test/Transforms/InstCombine/add.ll | 2 | ||||
-rw-r--r-- | test/Transforms/InstCombine/and.ll | 2 | ||||
-rw-r--r-- | test/Transforms/InstCombine/cast-set.ll | 2 | ||||
-rw-r--r-- | test/Transforms/InstCombine/cast.ll | 2 | ||||
-rw-r--r-- | test/Transforms/InstCombine/div.ll | 2 | ||||
-rw-r--r-- | test/Transforms/InstCombine/getelementptr.ll | 2 | ||||
-rw-r--r-- | test/Transforms/InstCombine/mul.ll | 2 | ||||
-rw-r--r-- | test/Transforms/InstCombine/not.ll | 2 | ||||
-rw-r--r-- | test/Transforms/InstCombine/or.ll | 2 | ||||
-rw-r--r-- | test/Transforms/InstCombine/rem.ll | 2 | ||||
-rw-r--r-- | test/Transforms/InstCombine/set.ll | 2 | ||||
-rw-r--r-- | test/Transforms/InstCombine/shift.ll | 2 | ||||
-rw-r--r-- | test/Transforms/InstCombine/sub.ll | 2 |
14 files changed, 14 insertions, 14 deletions
diff --git a/test/Transforms/InstCombine/2002-08-02-CastTest.ll b/test/Transforms/InstCombine/2002-08-02-CastTest.ll index 7599d76..7ce791c 100644 --- a/test/Transforms/InstCombine/2002-08-02-CastTest.ll +++ b/test/Transforms/InstCombine/2002-08-02-CastTest.ll @@ -1,7 +1,7 @@ ; This testcase is incorrectly getting completely eliminated. There should be ; SOME instruction named %c here, even if it's a bitwise and. ; -; RUN: as < %s | opt -instcombine -dce | grep '%c' +; RUN: as < %s | opt -instcombine | grep '%c' ulong %test3(ulong %A) { %c1 = cast ulong %A to ubyte ; <ubyte> [#uses=0] %c2 = cast ulong %A to ulong ; <ulong> [#uses=0] diff --git a/test/Transforms/InstCombine/add.ll b/test/Transforms/InstCombine/add.ll index f7461d2..8247d05 100644 --- a/test/Transforms/InstCombine/add.ll +++ b/test/Transforms/InstCombine/add.ll @@ -3,7 +3,7 @@ ; This also tests that a subtract with a constant is properly converted ; to a add w/negative constant -; RUN: if as < %s | opt -instcombine -dce | dis | grep add +; RUN: if as < %s | opt -instcombine -die | dis | grep add ; RUN: then exit 1 ; RUN: else exit 0 ; RUN: fi diff --git a/test/Transforms/InstCombine/and.ll b/test/Transforms/InstCombine/and.ll index 9f7f49a..356fe84 100644 --- a/test/Transforms/InstCombine/and.ll +++ b/test/Transforms/InstCombine/and.ll @@ -1,7 +1,7 @@ ; This test makes sure that these instructions are properly eliminated. ; -; RUN: if as < %s | opt -instcombine -dce | dis | grep and +; RUN: if as < %s | opt -instcombine | dis | grep and ; RUN: then exit 1 ; RUN: else exit 0 ; RUN: fi diff --git a/test/Transforms/InstCombine/cast-set.ll b/test/Transforms/InstCombine/cast-set.ll index 8429223..c890a07 100644 --- a/test/Transforms/InstCombine/cast-set.ll +++ b/test/Transforms/InstCombine/cast-set.ll @@ -1,4 +1,4 @@ -; RUN: if as < %s | opt -instcombine -dce | dis | grep cast +; RUN: if as < %s | opt -instcombine | dis | grep cast ; RUN: then exit 1 ; RUN: else exit 0 ; RUN: fi diff --git a/test/Transforms/InstCombine/cast.ll b/test/Transforms/InstCombine/cast.ll index 82b5c21..0042669 100644 --- a/test/Transforms/InstCombine/cast.ll +++ b/test/Transforms/InstCombine/cast.ll @@ -1,6 +1,6 @@ ; Tests to make sure elimination of casts is working correctly -; RUN: if as < %s | opt -instcombine -dce | grep '%c' | grep cast +; RUN: if as < %s | opt -instcombine | grep '%c' | grep cast ; RUN: then exit 1 ; RUN: else exit 0 ; RUN: fi diff --git a/test/Transforms/InstCombine/div.ll b/test/Transforms/InstCombine/div.ll index b189b7b..4f81b2f 100644 --- a/test/Transforms/InstCombine/div.ll +++ b/test/Transforms/InstCombine/div.ll @@ -1,7 +1,7 @@ ; This test makes sure that div instructions are properly eliminated. ; -; RUN: if as < %s | opt -instcombine -dce | dis | grep div +; RUN: if as < %s | opt -instcombine | dis | grep div ; RUN: then exit 1 ; RUN: else exit 0 ; RUN: fi diff --git a/test/Transforms/InstCombine/getelementptr.ll b/test/Transforms/InstCombine/getelementptr.ll index 16b947b..1579509 100644 --- a/test/Transforms/InstCombine/getelementptr.ll +++ b/test/Transforms/InstCombine/getelementptr.ll @@ -1,6 +1,6 @@ ; The %A getelementptr instruction should be eliminated here -; RUN: if as < %s | opt -instcombine -dce | dis | grep getelementptr | grep '%A' +; RUN: if as < %s | opt -instcombine -die | dis | grep getelementptr | grep '%A' ; RUN: then exit 1 ; RUN: else exit 0 ; RUN: fi diff --git a/test/Transforms/InstCombine/mul.ll b/test/Transforms/InstCombine/mul.ll index 077184c..793040e 100644 --- a/test/Transforms/InstCombine/mul.ll +++ b/test/Transforms/InstCombine/mul.ll @@ -1,7 +1,7 @@ ; This test makes sure that mul instructions are properly eliminated. ; -; RUN: if as < %s | opt -instcombine -dce | dis | grep mul +; RUN: if as < %s | opt -instcombine | dis | grep mul ; RUN: then exit 1 ; RUN: else exit 0 ; RUN: fi diff --git a/test/Transforms/InstCombine/not.ll b/test/Transforms/InstCombine/not.ll index 658afff..6b253ef 100644 --- a/test/Transforms/InstCombine/not.ll +++ b/test/Transforms/InstCombine/not.ll @@ -1,7 +1,7 @@ ; This test makes sure that these instructions are properly eliminated. ; -; RUN: if as < %s | opt -instcombine -dce | dis | grep not +; RUN: if as < %s | opt -instcombine -die | dis | grep not ; RUN: then exit 1 ; RUN: else exit 0 ; RUN: fi diff --git a/test/Transforms/InstCombine/or.ll b/test/Transforms/InstCombine/or.ll index 34b9cc2..1f85ea2 100644 --- a/test/Transforms/InstCombine/or.ll +++ b/test/Transforms/InstCombine/or.ll @@ -1,7 +1,7 @@ ; This test makes sure that these instructions are properly eliminated. ; -; RUN: if as < %s | opt -instcombine -dce | dis | grep or +; RUN: if as < %s | opt -instcombine | dis | grep or ; RUN: then exit 1 ; RUN: else exit 0 ; RUN: fi diff --git a/test/Transforms/InstCombine/rem.ll b/test/Transforms/InstCombine/rem.ll index 7f62bd2..554c059 100644 --- a/test/Transforms/InstCombine/rem.ll +++ b/test/Transforms/InstCombine/rem.ll @@ -1,7 +1,7 @@ ; This test makes sure that these instructions are properly eliminated. ; -; RUN: if as < %s | opt -instcombine -dce | dis | grep rem +; RUN: if as < %s | opt -instcombine | dis | grep rem ; RUN: then exit 1 ; RUN: else exit 0 ; RUN: fi diff --git a/test/Transforms/InstCombine/set.ll b/test/Transforms/InstCombine/set.ll index 3fd94c3..03c7e79 100644 --- a/test/Transforms/InstCombine/set.ll +++ b/test/Transforms/InstCombine/set.ll @@ -1,7 +1,7 @@ ; This test makes sure that these instructions are properly eliminated. ; -; RUN: if as < %s | opt -instcombine -dce | dis | grep set +; RUN: if as < %s | opt -instcombine | dis | grep set ; RUN: then exit 1 ; RUN: else exit 0 ; RUN: fi diff --git a/test/Transforms/InstCombine/shift.ll b/test/Transforms/InstCombine/shift.ll index 20bf911..dde01f5 100644 --- a/test/Transforms/InstCombine/shift.ll +++ b/test/Transforms/InstCombine/shift.ll @@ -1,7 +1,7 @@ ; This test makes sure that these instructions are properly eliminated. ; -; RUN: if as < %s | opt -instcombine -dce | dis | grep sh +; RUN: if as < %s | opt -instcombine | dis | grep sh ; RUN: then exit 1 ; RUN: else exit 0 ; RUN: fi diff --git a/test/Transforms/InstCombine/sub.ll b/test/Transforms/InstCombine/sub.ll index c2a6124..cf90115 100644 --- a/test/Transforms/InstCombine/sub.ll +++ b/test/Transforms/InstCombine/sub.ll @@ -1,7 +1,7 @@ ; This test makes sure that these instructions are properly eliminated. ; -; RUN: if as < %s | opt -instcombine -dce | dis | grep sub | grep -v 'sub int %Cok, %Bok' +; RUN: if as < %s | opt -instcombine -die | dis | grep sub | grep -v 'sub int %Cok, %Bok' ; RUN: then exit 1 ; RUN: else exit 0 ; RUN: fi |