Dan Gohman | e254f32 | 2009-03-14 02:33:41 +0000 | [diff] [blame^] | 1 | ; RUN: llvm-as < %s | llc -march=x86-64 -relocation-model=static | grep {a(%rip)} |
2 | |||||
3 | @a = internal global double 3.4 | ||||
4 | define double @foo() nounwind { | ||||
5 | %a = load double* @a | ||||
6 | ret double %a | ||||
7 | } |