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 | f8085812d9cedf992fa4e80a74608bb6b0c21110 (patch) | |
tree | 9a85617553e6f6d0e21d532863b46039737ac507 | |
parent | 279fa256a23c243ff6ea200db9517e87fd4eef55 (diff) | |
download | bcm5719-llvm-f8085812d9cedf992fa4e80a74608bb6b0c21110.tar.gz bcm5719-llvm-f8085812d9cedf992fa4e80a74608bb6b0c21110.zip |
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.
llvm-svn: 18313
-rw-r--r-- | llvm/test/Regression/Transforms/InstCombine/2004-11-27-SetCCForCastLargerAndConstant.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Regression/Transforms/InstCombine/2004-11-27-SetCCForCastLargerAndConstant.ll b/llvm/test/Regression/Transforms/InstCombine/2004-11-27-SetCCForCastLargerAndConstant.ll index e2ccd67c145..02cbd5186ba 100644 --- a/llvm/test/Regression/Transforms/InstCombine/2004-11-27-SetCCForCastLargerAndConstant.ll +++ b/llvm/test/Regression/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: |