forked from OSchip/llvm-project
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
|
||
|
}
|