Use opt -S instead of piping bitcode output through llvm-dis.
[oota-llvm.git] / test / Transforms / InstCombine / 2006-04-28-ShiftShiftLongLong.ll
1 ; RUN: opt %s -instcombine -S | grep shl
2 ; RUN: opt %s -instcombine -S | notcast
3
4 ; This cannot be turned into a sign extending cast!
5
6 define i64 @test(i64 %X) {
7         %Y = shl i64 %X, 16             ; <i64> [#uses=1]
8         %Z = ashr i64 %Y, 16            ; <i64> [#uses=1]
9         ret i64 %Z
10 }
11