blob: d9ef6fe76d7d868eeceac7c1d85266511c59c600 [file] [log] [blame]
Dan Gohmaneab55fd2008-07-25 15:25:32 +00001; RUN: llvm-as < %s | llc -march=x86-64 -relocation-model=static -aggressive-remat | grep xmm | count 2
Dan Gohmane3427532008-07-25 00:02:30 +00002
3declare void @bar() nounwind
4
5@a = external constant float
6
7declare void @qux(float %f) nounwind
8
9define void @foo() nounwind {
10 %f = load float* @a
11 call void @bar()
12 call void @qux(float %f)
13 call void @qux(float %f)
14 ret void
15}