blob: 4c983b014883bc2bf1d7ad0a5b6c6c84b2f88ab8 [file] [log] [blame]
Evan Cheng424f8f32009-06-03 21:13:54 +00001; RUN: llvm-as < %s | llc -mtriple=x86_64-linux -relocation-model=static -aggressive-remat | grep xmm | count 2
Dan Gohman6d69ba82008-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}