mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-18 10:31:57 +00:00
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
|
||
|
}
|