2009-09-09 07:54:48 +08:00
|
|
|
; RUN: llc < %s -mtriple=x86_64-linux -relocation-model=static | grep xmm | count 2
|
2008-07-25 08:02:30 +08:00
|
|
|
|
|
|
|
declare void @bar() nounwind
|
|
|
|
|
|
|
|
@a = external constant float
|
|
|
|
|
|
|
|
declare void @qux(float %f) nounwind
|
|
|
|
|
|
|
|
define void @foo() nounwind {
|
2015-02-28 05:17:42 +08:00
|
|
|
%f = load float, float* @a
|
2008-07-25 08:02:30 +08:00
|
|
|
call void @bar()
|
|
|
|
call void @qux(float %f)
|
|
|
|
call void @qux(float %f)
|
|
|
|
ret void
|
|
|
|
}
|