mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-10-11 07:24:06 +00:00
16 lines
325 B
LLVM
16 lines
325 B
LLVM
|
; RUN: llvm-as < %s | llc -march=x86-64 -relocation-model=static | grep xmm | count 2
|
||
|
|
||
|
declare void @bar() nounwind
|
||
|
|
||
|
@a = external constant float
|
||
|
|
||
|
declare void @qux(float %f) nounwind
|
||
|
|
||
|
define void @foo() nounwind {
|
||
|
%f = load float* @a
|
||
|
call void @bar()
|
||
|
call void @qux(float %f)
|
||
|
call void @qux(float %f)
|
||
|
ret void
|
||
|
}
|