diff options
author | Chris Lattner <sabre@nondot.org> | 2004-02-28 05:26:06 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-02-28 05:26:06 +0000 |
commit | efd74a0159800d8874aec3b4e3c7353a95ab854e (patch) | |
tree | 0b4f29141e9d3e8b51ad2bdabefed264299cde22 /test/Transforms | |
parent | 7bcc0e7fff17376c0760e1d37b2ca779c2440c25 (diff) | |
download | llvm-efd74a0159800d8874aec3b4e3c7353a95ab854e.tar.gz llvm-efd74a0159800d8874aec3b4e3c7353a95ab854e.tar.bz2 llvm-efd74a0159800d8874aec3b4e3c7353a95ab854e.tar.xz |
The instruction combining pass removes dead instructions, there is no need
to run the die pass after it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11942 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms')
-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/call.ll | 2 | ||||
-rw-r--r-- | test/Transforms/InstCombine/cast.ll | 2 | ||||
-rw-r--r-- | test/Transforms/InstCombine/getelementptr.ll | 2 | ||||
-rw-r--r-- | test/Transforms/InstCombine/malloc.ll | 2 | ||||
-rw-r--r-- | test/Transforms/InstCombine/not.ll | 2 | ||||
-rw-r--r-- | test/Transforms/InstCombine/phi.ll | 2 | ||||
-rw-r--r-- | test/Transforms/InstCombine/sub.ll | 2 |
9 files changed, 9 insertions, 9 deletions
diff --git a/test/Transforms/InstCombine/2002-08-02-CastTest.ll b/test/Transforms/InstCombine/2002-08-02-CastTest.ll index 4dce24202b..239c96cfb4 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: llvm-as < %s | opt -instcombine -die | llvm-dis | grep '%c' +; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep '%c' ; ulong %test3(ulong %A) { %c1 = cast ulong %A to ubyte diff --git a/test/Transforms/InstCombine/add.ll b/test/Transforms/InstCombine/add.ll index 70d3e32033..af985f2b3b 100644 --- a/test/Transforms/InstCombine/add.ll +++ b/test/Transforms/InstCombine/add.ll @@ -1,6 +1,6 @@ ; This test makes sure that add instructions are properly eliminated. -; RUN: llvm-as < %s | opt -instcombine -die | llvm-dis | grep -v OK | not grep add +; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep -v OK | not grep add implementation diff --git a/test/Transforms/InstCombine/call.ll b/test/Transforms/InstCombine/call.ll index a1da2c66e5..51ae351629 100644 --- a/test/Transforms/InstCombine/call.ll +++ b/test/Transforms/InstCombine/call.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -instcombine -die | llvm-dis | grep call | not grep cast +; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep call | not grep cast implementation diff --git a/test/Transforms/InstCombine/cast.ll b/test/Transforms/InstCombine/cast.ll index be9f6085a4..8b835c3372 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: llvm-as < %s | opt -instcombine -die | llvm-dis | grep '%c' | not grep cast +; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep '%c' | not grep cast %inbuf = external global [32832 x ubyte] diff --git a/test/Transforms/InstCombine/getelementptr.ll b/test/Transforms/InstCombine/getelementptr.ll index 4c8bbd286b..1e991d0e36 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: llvm-as < %s | opt -instcombine -die | llvm-dis | grep getelementptr | not grep '%A ' +; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep getelementptr | not grep '%A ' %Global = constant [10 x sbyte] c"helloworld" diff --git a/test/Transforms/InstCombine/malloc.ll b/test/Transforms/InstCombine/malloc.ll index 3231acf53d..ed13f415b3 100644 --- a/test/Transforms/InstCombine/malloc.ll +++ b/test/Transforms/InstCombine/malloc.ll @@ -1,5 +1,5 @@ ; test that malloc's with a constant argument are promoted to array allocations -; RUN: llvm-as < %s | opt -instcombine -die | llvm-dis | grep getelementptr +; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep getelementptr int* %test() { %X = malloc int, uint 4 diff --git a/test/Transforms/InstCombine/not.ll b/test/Transforms/InstCombine/not.ll index f87e4bea3b..11718466da 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: llvm-as < %s | opt -instcombine -die | llvm-dis | not grep xor +; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep xor implementation diff --git a/test/Transforms/InstCombine/phi.ll b/test/Transforms/InstCombine/phi.ll index 96e9e0ba39..653ae1f02f 100644 --- a/test/Transforms/InstCombine/phi.ll +++ b/test/Transforms/InstCombine/phi.ll @@ -1,7 +1,7 @@ ; This test makes sure that these instructions are properly eliminated. ; -; RUN: llvm-as < %s | opt -instcombine -die | llvm-dis | not grep phi +; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep phi implementation diff --git a/test/Transforms/InstCombine/sub.ll b/test/Transforms/InstCombine/sub.ll index 4f2a1c9ce0..ad1ae0a548 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: llvm-as < %s | opt -instcombine -die | llvm-dis | grep sub | not grep -v 'sub int %Cok, %Bok' +; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep sub | not grep -v 'sub int %Cok, %Bok' implementation |