Xamarin Public Jenkins (auto-signing) e19d552987 Imported Upstream version 5.18.0.161
Former-commit-id: 4db48158d3a35497b8f118ab21b5f08ac3d86d98
2018-10-19 08:34:24 +00:00

11 lines
285 B
LLVM

; RUN: llc < %s -mtriple=i686-apple-darwin -relocation-model=dynamic-no-pic | FileCheck %s
@var = external hidden global i32
@p = external hidden global i32*
define void @f() {
; CHECK: movl $_var+40, _p
store i32* getelementptr (i32, i32* @var, i64 10), i32** @p
ret void
}