You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.225
Former-commit-id: 10196d987d5fc5564b9d3b33b1fdf13190f4d0b5
This commit is contained in:
parent
32d52ae4ca
commit
f32dbaf0b2
18
external/llvm/test/CodeGen/PowerPC/lbz-from-ld-shift.ll
vendored
Normal file
18
external/llvm/test/CodeGen/PowerPC/lbz-from-ld-shift.ll
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
; RUN: llc -verify-machineinstrs -mcpu=ppc64 < %s | FileCheck %s
|
||||
target datalayout = "E-m:e-i64:64-n32:64"
|
||||
target triple = "powerpc64-unknown-linux-gnu"
|
||||
|
||||
; Function Attrs: nounwind readonly
|
||||
define signext i32 @test(i32* nocapture readonly %P) #0 {
|
||||
entry:
|
||||
%0 = load i32, i32* %P, align 4
|
||||
%shr = lshr i32 %0, 24
|
||||
ret i32 %shr
|
||||
|
||||
; CHECK-LABEL: @test
|
||||
; CHECK: lbz 3, 0(3)
|
||||
; CHECK: blr
|
||||
}
|
||||
|
||||
attributes #0 = { nounwind readonly }
|
||||
|
Reference in New Issue
Block a user