Test updates were performed using: https://gist.github.com/nikic/98357b71fd67756b0f064c9517b62a34 These are only the test updates where the test passed without further modification (which is almost all of them, as the backend is largely pointer-type agnostic).
16 lines
296 B
LLVM
16 lines
296 B
LLVM
; RUN: llc < %s -mtriple=i386-apple-darwin | FileCheck %s
|
|
|
|
|
|
define internal i64 @baz() nounwind {
|
|
%tmp = load i64, ptr @"+x"
|
|
ret i64 %tmp
|
|
; CHECK: _baz:
|
|
; CHECK: movl "L_+x$non_lazy_ptr", %ecx
|
|
}
|
|
|
|
|
|
@"+x" = external global i64
|
|
|
|
; CHECK: "L_+x$non_lazy_ptr":
|
|
; CHECK: .indirect_symbol "_+x"
|