mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-08 08:54:58 +00:00
I view this as a temporary workaround until the assembler / linker changes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72806 91177308-0d34-0410-b5e6-96231b3b80d8
16 lines
351 B
LLVM
16 lines
351 B
LLVM
; RUN: llvm-as < %s | llc -mtriple=x86_64-linux -relocation-model=static -aggressive-remat | 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
|
|
}
|