mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-04 09:30:13 +00:00
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
|
|
}
|