1 ; RUN: llvm-as < %s | llc -march=arm | grep mvn | count 8
8 define i32 @f2(i32 %a) {
10 %tmpnot = xor i32 %a, -1 ; <i32> [#uses=1]
14 define i32 @f3(i32 %a) {
16 %tmp1 = shl i32 %a, 2 ; <i32> [#uses=1]
17 %tmp1not = xor i32 %tmp1, -1 ; <i32> [#uses=1]
21 define i32 @f4(i32 %a, i8 %b) {
23 %shift.upgrd.1 = zext i8 %b to i32 ; <i32> [#uses=1]
24 %tmp3 = shl i32 %a, %shift.upgrd.1 ; <i32> [#uses=1]
25 %tmp3not = xor i32 %tmp3, -1 ; <i32> [#uses=1]
29 define i32 @f5(i32 %a) {
31 %tmp1 = lshr i32 %a, 2 ; <i32> [#uses=1]
32 %tmp1not = xor i32 %tmp1, -1 ; <i32> [#uses=1]
36 define i32 @f6(i32 %a, i8 %b) {
38 %shift.upgrd.2 = zext i8 %b to i32 ; <i32> [#uses=1]
39 %tmp2 = lshr i32 %a, %shift.upgrd.2 ; <i32> [#uses=1]
40 %tmp2not = xor i32 %tmp2, -1 ; <i32> [#uses=1]
44 define i32 @f7(i32 %a) {
46 %tmp1 = ashr i32 %a, 2 ; <i32> [#uses=1]
47 %tmp1not = xor i32 %tmp1, -1 ; <i32> [#uses=1]
51 define i32 @f8(i32 %a, i8 %b) {
53 %shift.upgrd.3 = zext i8 %b to i32 ; <i32> [#uses=1]
54 %tmp3 = ashr i32 %a, %shift.upgrd.3 ; <i32> [#uses=1]
55 %tmp3not = xor i32 %tmp3, -1 ; <i32> [#uses=1]
61 %tmp4845 = add i32 0, 0 ; <i32> [#uses=1]
62 br label %cond_true4848
64 cond_true4848: ; preds = %entry
65 %tmp4851 = sub i32 -3, 0 ; <i32> [#uses=1]
66 %abc = add i32 %tmp4851, %tmp4845 ; <i32> [#uses=1]
70 define i1 @f10(i32 %a) {
72 %tmp102 = icmp eq i32 -2, %a ; <i1> [#uses=1]