1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-01 08:23:21 +01:00
llvm-mirror/test/CodeGen/X86/2007-06-29-VecFPConstantCSEBug.ll

12 lines
533 B
LLVM
Raw Normal View History

; RUN: llc < %s -march=x86 -mattr=+sse2
2007-06-29 23:40:30 +02:00
define void @test(<4 x float>* %arg) {
%tmp89 = getelementptr <4 x float>* %arg, i64 3
%tmp1144 = fsub <4 x float> < float -0.000000e+00, float -0.000000e+00, float -0.000000e+00, float -0.000000e+00 >, zeroinitializer
2007-06-29 23:40:30 +02:00
store <4 x float> %tmp1144, <4 x float>* null
%tmp1149 = load <4 x float>* %tmp89
%tmp1150 = fsub <4 x float> < float -0.000000e+00, float -0.000000e+00, float -0.000000e+00, float -0.000000e+00 >, %tmp1149
2007-06-29 23:40:30 +02:00
store <4 x float> %tmp1150, <4 x float>* %tmp89
ret void
}