For PR950:

Changes for new cast instructions that are backwards compatible.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31707 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer 2006-11-13 18:00:52 +00:00
parent d718559c7f
commit 759bfd0934
6 changed files with 6 additions and 6 deletions

View File

@ -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*)

View File

@ -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:

View File

@ -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!

View File

@ -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) {

View File

@ -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

View File

@ -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