diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2004-11-28 21:36:52 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2004-11-28 21:36:52 +0000 |
commit | b2e4cd645a3392501d41ad55c0d7753e75efe9ac (patch) | |
tree | b5ece273e4655b358495a807135cbb7fb64d5864 /test/Transforms | |
parent | 6731d5c494934d9ca58e89ea9a7b454dd6bdf605 (diff) | |
download | external_llvm-b2e4cd645a3392501d41ad55c0d7753e75efe9ac.zip external_llvm-b2e4cd645a3392501d41ad55c0d7753e75efe9ac.tar.gz external_llvm-b2e4cd645a3392501d41ad55c0d7753e75efe9ac.tar.bz2 |
Update the test to match the optimization. The optimization can let some
casts through, but they will only be sbyte -> ubyte in this test case so
make sure we don't let any other kinds through.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18313 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms')
-rw-r--r-- | test/Transforms/InstCombine/2004-11-27-SetCCForCastLargerAndConstant.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Transforms/InstCombine/2004-11-27-SetCCForCastLargerAndConstant.ll b/test/Transforms/InstCombine/2004-11-27-SetCCForCastLargerAndConstant.ll index e2ccd67..02cbd51 100644 --- a/test/Transforms/InstCombine/2004-11-27-SetCCForCastLargerAndConstant.ll +++ b/test/Transforms/InstCombine/2004-11-27-SetCCForCastLargerAndConstant.ll @@ -9,7 +9,7 @@ ; be eliminated. In many cases the setCC is also eliminated based on the ; constant value and the range of the casted value. ; -; RUN: llvm-as %s -o - | opt -instcombine | llvm-dis | not grep cast +; RUN: llvm-as %s -o - | opt -instcombine | llvm-dis | not grep 'cast.*int' implementation ; Functions: |