19 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc -ppc-asm-full-reg-names -verify-machineinstrs -mtriple=powerpc64-- < %s | FileCheck %s --check-prefixes=BE3; RUN: llc -ppc-asm-full-reg-names -verify-machineinstrs -mtriple=powerpc64le-- < %s | FileCheck %s --check-prefixes=LE4 5define signext i32 @test(ptr nocapture readonly %P) nounwind {6; BE-LABEL: test:7; BE: # %bb.0:8; BE-NEXT: lbz r3, 0(r3)9; BE-NEXT: blr10;11; LE-LABEL: test:12; LE: # %bb.0:13; LE-NEXT: lbz r3, 3(r3)14; LE-NEXT: blr15 %t0 = load i32, ptr %P, align 416 %shr = lshr i32 %t0, 2417 ret i32 %shr18}19