OSDN Git Service

Check in test changes that I accidentally left out of r72872.
authorDan Gohman <gohman@apple.com>
Thu, 4 Jun 2009 18:22:31 +0000 (18:22 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 4 Jun 2009 18:22:31 +0000 (18:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72875 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/fmul-zero.ll [new file with mode: 0644]
test/Transforms/InstCombine/mul.ll

diff --git a/test/CodeGen/X86/fmul-zero.ll b/test/CodeGen/X86/fmul-zero.ll
new file mode 100644 (file)
index 0000000..8f705a4
--- /dev/null
@@ -0,0 +1,9 @@
+; RUN: llvm-as < %s | llc -march=x86-64 -enable-unsafe-fp-math | not grep mulps
+; RUN: llvm-as < %s | llc -march=x86-64 | grep mulps
+
+define void @test14(<4 x float>*) nounwind {
+        load <4 x float>* %0, align 1
+        mul <4 x float> %2, zeroinitializer
+        store <4 x float> %3, <4 x float>* %0, align 1
+        ret void
+}
index 1a74025..0455a3f 100644 (file)
@@ -83,11 +83,3 @@ define internal void @test13(<4 x float>*) {
        store <4 x float> %3, <4 x float>* %0, align 1
        ret void
 }
-
-define internal void @test14(<4 x float>*) {
-       load <4 x float>* %0, align 1
-       mul <4 x float> %2, zeroinitializer
-       store <4 x float> %3, <4 x float>* %0, align 1
-       ret void
-}
-