xref: /aosp_15_r20/external/llvm/test/CodeGen/X86/2007-06-29-VecFPConstantCSEBug.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s -march=x86 -mattr=+sse2
2*9880d681SAndroid Build Coastguard Worker
3*9880d681SAndroid Build Coastguard Workerdefine void @test(<4 x float>* %arg) {
4*9880d681SAndroid Build Coastguard Worker	%tmp89 = getelementptr <4 x float>, <4 x float>* %arg, i64 3
5*9880d681SAndroid Build Coastguard Worker	%tmp1144 = fsub <4 x float> < float -0.000000e+00, float -0.000000e+00, float -0.000000e+00, float -0.000000e+00 >, zeroinitializer
6*9880d681SAndroid Build Coastguard Worker	store <4 x float> %tmp1144, <4 x float>* null
7*9880d681SAndroid Build Coastguard Worker	%tmp1149 = load <4 x float>, <4 x float>* %tmp89
8*9880d681SAndroid Build Coastguard Worker	%tmp1150 = fsub <4 x float> < float -0.000000e+00, float -0.000000e+00, float -0.000000e+00, float -0.000000e+00 >, %tmp1149
9*9880d681SAndroid Build Coastguard Worker	store <4 x float> %tmp1150, <4 x float>* %tmp89
10*9880d681SAndroid Build Coastguard Worker	ret void
11*9880d681SAndroid Build Coastguard Worker}
12