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 7define i32 @foo1(i32 %a, i32 %b) { 8entry: 9 %c = add i32 %a, 1 10 ret i32 %c 11} 12 13define i32 @foo2(i32 %a, i32 %b) { 14entry: 15 %c = add i32 %a, 131072 16 ret i32 %c 17} 18 19define zeroext i32 @foo3(i32 %a, i32 %b) { 20entry: 21 %c = add i32 %a, 1 22 ret i32 %c 23} 24 25define zeroext i32 @foo4(i32 %a, i32 %b) { 26entry: 27 %c = add i32 %a, 131072 28 ret i32 %c 29} 30 31define signext i32 @foo5(i32 %a, i32 %b) { 32entry: 33 %c = add i32 %a, 1 34 ret i32 %c 35} 36 37define signext i32 @foo6(i32 %a, i32 %b) { 38entry: 39 %c = add i32 %a, 131072 40 ret i32 %c 41} 42 43