[llvm-commits] [llvm] r72875 - in /llvm/trunk/test: CodeGen/X86/fmul-zero.ll Transforms/InstCombine/mul.ll

Dan Gohman gohman at apple.com
Thu Jun 4 11:22:31 PDT 2009


Author: djg
Date: Thu Jun  4 13:22:31 2009
New Revision: 72875

URL: http://llvm.org/viewvc/llvm-project?rev=72875&view=rev
Log:
Check in test changes that I accidentally left out of r72872.

Added:
    llvm/trunk/test/CodeGen/X86/fmul-zero.ll
Modified:
    llvm/trunk/test/Transforms/InstCombine/mul.ll

Added: llvm/trunk/test/CodeGen/X86/fmul-zero.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/fmul-zero.ll?rev=72875&view=auto

==============================================================================
--- llvm/trunk/test/CodeGen/X86/fmul-zero.ll (added)
+++ llvm/trunk/test/CodeGen/X86/fmul-zero.ll Thu Jun  4 13:22:31 2009
@@ -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
+}

Modified: llvm/trunk/test/Transforms/InstCombine/mul.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/InstCombine/mul.ll?rev=72875&r1=72874&r2=72875&view=diff

==============================================================================
--- llvm/trunk/test/Transforms/InstCombine/mul.ll (original)
+++ llvm/trunk/test/Transforms/InstCombine/mul.ll Thu Jun  4 13:22:31 2009
@@ -83,11 +83,3 @@
 	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
-}
-





More information about the llvm-commits mailing list