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
This commit is contained in:
Reid Spencer 2004-11-28 21:36:52 +00:00
parent 279fa256a2
commit f8085812d9

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
; RUN: llvm-as %s -o - | opt -instcombine | llvm-dis | not grep 'cast.*int'
implementation ; Functions: