1 ; Tests to make sure elimination of casts is working correctly
2 ; This test is for Integer BitWidth <= 64 && BitWidth % 2 != 0.
3 ; RUN: opt < %s -instcombine -S | notcast {} {%c1.*}
5 define i47 @test_sext_zext(i11 %A) {
6 %c1 = zext i11 %A to i39
7 %c2 = sext i39 %c1 to i47