mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-21 00:32:23 +00:00
72bb0a64af
it has a smaller encoding than absolute addressing. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67002 91177308-0d34-0410-b5e6-96231b3b80d8
8 lines
188 B
LLVM
8 lines
188 B
LLVM
; RUN: llvm-as < %s | llc -march=x86-64 -relocation-model=static | grep {a(%rip)}
|
|
|
|
@a = internal global double 3.4
|
|
define double @foo() nounwind {
|
|
%a = load double* @a
|
|
ret double %a
|
|
}
|