this test is now compiled into the right thing.
[oota-llvm.git] / test / Transforms / InstCombine / zext.ll
1 ; Tests to make sure elimination of casts is working correctly
2 ; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | \
3 ; RUN:   notcast {} {%c1.*}
4
5 long %test_sext_zext(short %A) {
6     %c1 = zext short %A to uint
7     %c2 = sext uint %c1 to long
8     ret long %c2
9 }