1 ; RUN: llc < %s -O0 -verify-machineinstrs -fast-isel-abort=1 -mtriple=powerpc64-unknown-linux-gnu -mcpu=pwr7 | FileCheck %s --check-prefix=PPC64
2 ; RUN: llc < %s -O0 -verify-machineinstrs -fast-isel-abort=1 -mtriple=powerpc64-ibm-aix-xcoff -mcpu=pwr7 | FileCheck %s --check-prefix=PPC64
4 define i32 @shl() nounwind {
12 define i32 @shl_reg(i32 %src1, i32 %src2) nounwind {
16 %shl = shl i32 %src1, %src2
20 define i32 @lshr() nounwind {
24 %lshr = lshr i32 -1, 2
28 define i32 @lshr_reg(i32 %src1, i32 %src2) nounwind {
32 %lshr = lshr i32 %src1, %src2
36 define i32 @ashr() nounwind {
40 %ashr = ashr i32 -1, 2
44 define i32 @ashr_reg(i32 %src1, i32 %src2) nounwind {
48 %ashr = ashr i32 %src1, %src2