1 ; RUN: opt < %s -instcombine -S | grep shl
2 ; RUN: opt < %s -instcombine -S | notcast
4 ; This cannot be turned into a sign extending cast!
6 define i64 @test(i64 %X) {
7 %Y = shl i64 %X, 16 ; <i64> [#uses=1]
8 %Z = ashr i64 %Y, 16 ; <i64> [#uses=1]