Xamarin Public Jenkins (auto-signing) 64ac736ec5 Imported Upstream version 6.0.0.172
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
2019-04-12 14:10:50 +00:00

17 lines
368 B
LLVM

; RUN: llc < %s -mtriple=arm-linux-gnueabi | FileCheck %s
@X = constant {i8, i8 } { i8 0, i8 0 }
@XA = alias i8, getelementptr inbounds ({ i8, i8 }, {i8, i8}* @X, i32 0, i32 1)
define void @f(i8** %p) align 2 {
entry:
store i8* @XA, i8 **%p, align 4
ret void
}
; CHECK: f:
; CHECK: ldr r{{.*}}, [[L:.*]]
; CHECK: [[L]]:
; CHECK-NEXT: .long XA
; CHECK: XA = X+1