[llvm-commits] [llvm] r37815 - /llvm/trunk/test/CodeGen/X86/2007-06-29-VecFPConstantCSEBug.ll

Evan Cheng evan.cheng at apple.com
Fri Jun 29 14:40:30 PDT 2007


Author: evancheng
Date: Fri Jun 29 16:40:30 2007
New Revision: 37815

URL: http://llvm.org/viewvc/llvm-project?rev=37815&view=rev
Log:
New test.

Added:
    llvm/trunk/test/CodeGen/X86/2007-06-29-VecFPConstantCSEBug.ll

Added: llvm/trunk/test/CodeGen/X86/2007-06-29-VecFPConstantCSEBug.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/2007-06-29-VecFPConstantCSEBug.ll?rev=37815&view=auto
==============================================================================
--- llvm/trunk/test/CodeGen/X86/2007-06-29-VecFPConstantCSEBug.ll (added)
+++ llvm/trunk/test/CodeGen/X86/2007-06-29-VecFPConstantCSEBug.ll Fri Jun 29 16:40:30 2007
@@ -0,0 +1,11 @@
+; 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
+}





More information about the llvm-commits mailing list