264b4b2e36e26d69d80b1bf515a9f3b07364b6c1
[oota-llvm.git] / test / Transforms / InstCombine / apint-zext2.ll
1 ; Tests to make sure elimination of casts is working correctly
2 ; This test is for Integer BitWidth > 64 && BitWidth <= 1024.
3 ; RUN: opt < %s -instcombine -S | notcast {} {%c1.*}
4
5 define i1024 @test_sext_zext(i77 %A) {
6     %c1 = zext i77 %A to i533
7     %c2 = sext i533 %c1 to i1024
8     ret i1024 %c2
9 }