mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 00:11:00 +00:00
12 lines
543 B
LLVM
12 lines
543 B
LLVM
|
; RUN: llvm-as < %s | | llc -march=x86 -mattr=+sse2
|
||
|
|
||
|
define void @test(<4 x float>* %arg) {
|
||
|
%tmp89 = getelementptr <4 x float>* %arg, i64 3
|
||
|
%tmp1144 = sub <4 x float> < float -0.000000e+00, float -0.000000e+00, float -0.000000e+00, float -0.000000e+00 >, zeroinitializer
|
||
|
store <4 x float> %tmp1144, <4 x float>* null
|
||
|
%tmp1149 = load <4 x float>* %tmp89
|
||
|
%tmp1150 = sub <4 x float> < float -0.000000e+00, float -0.000000e+00, float -0.000000e+00, float -0.000000e+00 >, %tmp1149
|
||
|
store <4 x float> %tmp1150, <4 x float>* %tmp89
|
||
|
ret void
|
||
|
}
|