1 ; RUN: %lli_mcjit %s > /dev/null 2 3 define i32 @main() { 4 %shamt = add i8 0, 1 ; <i8> [#uses=8] 5 %shift.upgrd.1 = zext i8 %shamt to i32 ; <i32> [#uses=1] 6 %t1.s = shl i32 1, %shift.upgrd.1 ; <i32> [#uses=0] 7 %t2.s = shl i32 1, 4 ; <i32> [#uses=0] 8 %shift.upgrd.2 = zext i8 %shamt to i32 ; <i32> [#uses=1] 9 %t1 = shl i32 1, %shift.upgrd.2 ; <i32> [#uses=0] 10 %t2 = shl i32 1, 5 ; <i32> [#uses=0] 11 %t2.s.upgrd.3 = shl i64 1, 4 ; <i64> [#uses=0] 12 %t2.upgrd.4 = shl i64 1, 5 ; <i64> [#uses=0] 13 %shift.upgrd.5 = zext i8 %shamt to i32 ; <i32> [#uses=1] 14 %tr1.s = ashr i32 1, %shift.upgrd.5 ; <i32> [#uses=0] 15 %tr2.s = ashr i32 1, 4 ; <i32> [#uses=0] 16 %shift.upgrd.6 = zext i8 %shamt to i32 ; <i32> [#uses=1] 17 %tr1 = lshr i32 1, %shift.upgrd.6 ; <i32> [#uses=0] 18 %tr2 = lshr i32 1, 5 ; <i32> [#uses=0] 19 %tr1.l = ashr i64 1, 4 ; <i64> [#uses=0] 20 %shift.upgrd.7 = zext i8 %shamt to i64 ; <i64> [#uses=1] 21 %tr2.l = ashr i64 1, %shift.upgrd.7 ; <i64> [#uses=0] 22 %tr3.l = shl i64 1, 4 ; <i64> [#uses=0] 23 %shift.upgrd.8 = zext i8 %shamt to i64 ; <i64> [#uses=1] 24 %tr4.l = shl i64 1, %shift.upgrd.8 ; <i64> [#uses=0] 25 %tr1.u = lshr i64 1, 5 ; <i64> [#uses=0] 26 %shift.upgrd.9 = zext i8 %shamt to i64 ; <i64> [#uses=1] 27 %tr2.u = lshr i64 1, %shift.upgrd.9 ; <i64> [#uses=0] 28 %tr3.u = shl i64 1, 5 ; <i64> [#uses=0] 29 %shift.upgrd.10 = zext i8 %shamt to i64 ; <i64> [#uses=1] 30 %tr4.u = shl i64 1, %shift.upgrd.10 ; <i64> [#uses=0] 31 ret i32 0 32 } 33