1
0
mirror of https://github.com/c64scene-ar/llvm-6502.git synced 2024-12-14 11:32:34 +00:00
llvm-6502/test/CodeGen/X86/remat-constant.ll
2009-09-08 23:54:48 +00:00

16 lines
323 B
LLVM

; RUN: llc < %s -mtriple=x86_64-linux -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
}