1 ; RUN: llc -mcpu=ppc64 < %s | FileCheck %s 2 target datalayout = "E-m:e-i64:64-n32:64" 3 target triple = "powerpc64-unknown-linux-gnu" 4 5 ; Function Attrs: nounwind readonly 6 define signext i32 @test(i32* nocapture readonly %P) #0 { 7 entry: 8 %0 = load i32, i32* %P, align 4 9 %shr = lshr i32 %0, 24 10 ret i32 %shr 11 12 ; CHECK-LABEL: @test 13 ; CHECK: lbz 3, 0(3) 14 ; CHECK: blr 15 } 16 17 attributes #0 = { nounwind readonly } 18 19