1 ; RUN: llc < %s -march=systemz | grep ahi | count 3 2 ; RUN: llc < %s -march=systemz | grep afi | count 3 3 ; RUN: llc < %s -march=systemz | grep lgfr | count 4 4 ; RUN: llc < %s -march=systemz | grep llgfr | count 2 5 6 7 define i32 @foo1(i32 %a, i32 %b) { 8 entry: 9 %c = sub i32 %a, 1 10 ret i32 %c 11 } 12 13 define i32 @foo2(i32 %a, i32 %b) { 14 entry: 15 %c = sub i32 %a, 131072 16 ret i32 %c 17 } 18 19 define zeroext i32 @foo3(i32 %a, i32 %b) { 20 entry: 21 %c = sub i32 %a, 1 22 ret i32 %c 23 } 24 25 define signext i32 @foo4(i32 %a, i32 %b) { 26 entry: 27 %c = sub i32 %a, 131072 28 ret i32 %c 29 } 30 31 define zeroext i32 @foo5(i32 %a, i32 %b) { 32 entry: 33 %c = sub i32 %a, 1 34 ret i32 %c 35 } 36 37 define signext i32 @foo6(i32 %a, i32 %b) { 38 entry: 39 %c = sub i32 %a, 131072 40 ret i32 %c 41 } 42 43