diff options
author | Evan Cheng <evan.cheng@apple.com> | 2007-06-29 21:40:30 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2007-06-29 21:40:30 +0000 |
commit | 62acd012754800671cfab15f2b7c0e64738468a3 (patch) | |
tree | 78f133f8433a988a9c7dfe08e6618e0b7438f317 /llvm/test/CodeGen/X86/2007-06-29-VecFPConstantCSEBug.ll | |
parent | 9458e6a551548ab143f1ba9466931de20c65d745 (diff) | |
download | bcm5719-llvm-62acd012754800671cfab15f2b7c0e64738468a3.tar.gz bcm5719-llvm-62acd012754800671cfab15f2b7c0e64738468a3.zip |
New test.
llvm-svn: 37815
Diffstat (limited to 'llvm/test/CodeGen/X86/2007-06-29-VecFPConstantCSEBug.ll')
-rw-r--r-- | llvm/test/CodeGen/X86/2007-06-29-VecFPConstantCSEBug.ll | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/X86/2007-06-29-VecFPConstantCSEBug.ll b/llvm/test/CodeGen/X86/2007-06-29-VecFPConstantCSEBug.ll new file mode 100644 index 00000000000..73ecf69ecdc --- /dev/null +++ b/llvm/test/CodeGen/X86/2007-06-29-VecFPConstantCSEBug.ll @@ -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 +} |