diff options
author | Chris Lattner <sabre@nondot.org> | 2002-05-09 01:28:30 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-05-09 01:28:30 +0000 |
commit | 8c7333e17c5e2214a99d24596d8f41cb9e392183 (patch) | |
tree | b8ff5c7dbbe09a1cc68ee0602e5fb5812ed852d4 /test/Transforms | |
parent | aa3904faffd930c9f428863055dee58a89418dd8 (diff) | |
download | external_llvm-8c7333e17c5e2214a99d24596d8f41cb9e392183.zip external_llvm-8c7333e17c5e2214a99d24596d8f41cb9e392183.tar.gz external_llvm-8c7333e17c5e2214a99d24596d8f41cb9e392183.tar.bz2 |
Fix broken testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2565 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms')
-rw-r--r-- | test/Transforms/InstCombine/sub.ll | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Transforms/InstCombine/sub.ll b/test/Transforms/InstCombine/sub.ll index bbdf0b3..c2a6124 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 +; RUN: if as < %s | opt -instcombine -dce | dis | grep sub | grep -v 'sub int %Cok, %Bok' ; RUN: then exit 1 ; RUN: else exit 0 ; RUN: fi @@ -30,8 +30,8 @@ int "test4"(int %A, int %x) { ret int %C } -int "test5"(int %A, int %B, int %C) { - %D = sub int %B, %C +int "test5"(int %A, int %Bok, int %Cok) { + %D = sub int %Bok, %Cok %E = sub int %A, %D ret int %E } |