1 ; RUN: llvm-as < %s | opt -instcombine -disable-output &&
2 ; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
3 ; RUN: grep -v OK | not grep add
5 define i64 @test1(i64 %A, i32 %B) {
6 %tmp12 = zext i32 %B to i64
7 %tmp3 = shl i64 %tmp12, 32
8 %tmp5 = add i64 %tmp3, %A
9 %tmp6 = and i64 %tmp5, 123