You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.207
Former-commit-id: 3b152f462918d427ce18620a2cbe4f8b79650449
This commit is contained in:
parent
8e12397d70
commit
eb85e2fc17
22
external/llvm/test/CodeGen/Hexagon/pic-simple.ll
vendored
22
external/llvm/test/CodeGen/Hexagon/pic-simple.ll
vendored
@ -1,22 +0,0 @@
|
||||
; RUN: llc -mtriple=hexagon-- -mcpu=hexagonv5 -relocation-model=pic < %s | FileCheck %s
|
||||
|
||||
; CHECK: r{{[0-9]+}} = add({{pc|PC}},##_GLOBAL_OFFSET_TABLE_@PCREL)
|
||||
; CHECK: r{{[0-9]+}} = memw(r{{[0-9]+}}+##src@GOT)
|
||||
; CHECK: r{{[0-9]+}} = memw(r{{[0-9]+}}+##dst@GOT)
|
||||
|
||||
@dst = external global i32
|
||||
@src = external global i32
|
||||
|
||||
define i32 @foo() nounwind {
|
||||
entry:
|
||||
%0 = load i32, i32* @src, align 4, !tbaa !0
|
||||
store i32 %0, i32* @dst, align 4, !tbaa !0
|
||||
%call = tail call i32 @baz(i32 %0) nounwind
|
||||
ret i32 0
|
||||
}
|
||||
|
||||
declare i32 @baz(i32)
|
||||
|
||||
!0 = !{!"int", !1}
|
||||
!1 = !{!"omnipotent char", !2}
|
||||
!2 = !{!"Simple C/C++ TBAA"}
|
Reference in New Issue
Block a user