diff options
| author | Reid Spencer <rspencer@reidspencer.com> | 2006-11-13 18:00:52 +0000 |
|---|---|---|
| committer | Reid Spencer <rspencer@reidspencer.com> | 2006-11-13 18:00:52 +0000 |
| commit | 3d1027193fca9b338b03628d083fbee42778fb4f (patch) | |
| tree | 37611e15952f087953db4e00801ea0f9c295c74e /llvm/test/Regression | |
| parent | 7354395590df104f9c91b97b3aaed1c0b4caf8cb (diff) | |
| download | bcm5719-llvm-3d1027193fca9b338b03628d083fbee42778fb4f.tar.gz bcm5719-llvm-3d1027193fca9b338b03628d083fbee42778fb4f.zip | |
For PR950:
Changes for new cast instructions that are backwards compatible.
llvm-svn: 31707
Diffstat (limited to 'llvm/test/Regression')
6 files changed, 6 insertions, 6 deletions
diff --git a/llvm/test/Regression/Transforms/InstCombine/2003-11-13-ConstExprCastCall.ll b/llvm/test/Regression/Transforms/InstCombine/2003-11-13-ConstExprCastCall.ll index aa5b79b3a9b..04bbab8b578 100644 --- a/llvm/test/Regression/Transforms/InstCombine/2003-11-13-ConstExprCastCall.ll +++ b/llvm/test/Regression/Transforms/InstCombine/2003-11-13-ConstExprCastCall.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep call | not grep cast +; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep call | notcast declare void %free(sbyte*) 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 75e1ac663fa..759c619e6db 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.*int' +; RUN: llvm-as %s -o - | opt -instcombine | llvm-dis | notcast '.*int' implementation ; Functions: diff --git a/llvm/test/Regression/Transforms/InstCombine/2006-04-28-ShiftShiftLongLong.ll b/llvm/test/Regression/Transforms/InstCombine/2006-04-28-ShiftShiftLongLong.ll index 7a164ddf4dc..5c38342c84f 100644 --- a/llvm/test/Regression/Transforms/InstCombine/2006-04-28-ShiftShiftLongLong.ll +++ b/llvm/test/Regression/Transforms/InstCombine/2006-04-28-ShiftShiftLongLong.ll @@ -1,5 +1,5 @@ ; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep shl && -; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep cast +; RUN: llvm-as < %s | opt -instcombine | llvm-dis | notcast ; This cannot be turned into a sign extending cast! diff --git a/llvm/test/Regression/Transforms/InstCombine/IntPtrCast.ll b/llvm/test/Regression/Transforms/InstCombine/IntPtrCast.ll index c30498279de..c3cc96728de 100644 --- a/llvm/test/Regression/Transforms/InstCombine/IntPtrCast.ll +++ b/llvm/test/Regression/Transforms/InstCombine/IntPtrCast.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep cast +; RUN: llvm-as < %s | opt -instcombine | llvm-dis | notcast target pointersize = 32 int *%test(int *%P) { diff --git a/llvm/test/Regression/Transforms/InstCombine/call.ll b/llvm/test/Regression/Transforms/InstCombine/call.ll index 51ae351629a..f721f3569fa 100644 --- a/llvm/test/Regression/Transforms/InstCombine/call.ll +++ b/llvm/test/Regression/Transforms/InstCombine/call.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep call | not grep cast +; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep call | notcast implementation diff --git a/llvm/test/Regression/Transforms/InstCombine/cast-set.ll b/llvm/test/Regression/Transforms/InstCombine/cast-set.ll index b1c81231442..a1ac29bc3fb 100644 --- a/llvm/test/Regression/Transforms/InstCombine/cast-set.ll +++ b/llvm/test/Regression/Transforms/InstCombine/cast-set.ll @@ -1,7 +1,7 @@ ; This tests for various complex cast elimination cases instcombine should ; handle. -; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep cast +; RUN: llvm-as < %s | opt -instcombine | llvm-dis | notcast bool %test1(int %X) { %A = cast int %X to uint |

