Files
clang-p2996/llvm/test/Transforms/InstCombine/zext.ll
Reid Spencer 91948d4cad For PR1319:
Upgrade tests to work with new llvm.exp version of llvm_runtest.

llvm-svn: 36013
2007-04-14 20:13:02 +00:00

10 lines
277 B
LLVM

; Tests to make sure elimination of casts is working correctly
; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | \
; RUN: notcast {} {%c1.*}
long %test_sext_zext(short %A) {
%c1 = zext short %A to uint
%c2 = sext uint %c1 to long
ret long %c2
}