mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-01 00:12:50 +01:00
6d394147f2
llvm-svn: 54015
16 lines
343 B
LLVM
16 lines
343 B
LLVM
; RUN: llvm-as < %s | llc -march=x86-64 -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
|
|
}
|