summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-06-04 18:22:31 +0000
committerDan Gohman <gohman@apple.com>2009-06-04 18:22:31 +0000
commit1aa86203f6dad7db4c06aa636bc6be82402e4575 (patch)
tree27e7409d237845e34631923cd5875f21613bc04b
parent60dd76fbc9cad16d26f67d893fcfa0b44c1af909 (diff)
downloadbcm5719-llvm-1aa86203f6dad7db4c06aa636bc6be82402e4575.tar.gz
bcm5719-llvm-1aa86203f6dad7db4c06aa636bc6be82402e4575.zip
Check in test changes that I accidentally left out of r72872.
llvm-svn: 72875
-rw-r--r--llvm/test/CodeGen/X86/fmul-zero.ll9
-rw-r--r--llvm/test/Transforms/InstCombine/mul.ll8
2 files changed, 9 insertions, 8 deletions
diff --git a/llvm/test/CodeGen/X86/fmul-zero.ll b/llvm/test/CodeGen/X86/fmul-zero.ll
new file mode 100644
index 00000000000..8f705a4d242
--- /dev/null
+++ b/llvm/test/CodeGen/X86/fmul-zero.ll
@@ -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
+}
diff --git a/llvm/test/Transforms/InstCombine/mul.ll b/llvm/test/Transforms/InstCombine/mul.ll
index 1a740254341..0455a3f7a27 100644
--- a/llvm/test/Transforms/InstCombine/mul.ll
+++ b/llvm/test/Transforms/InstCombine/mul.ll
@@ -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
-}
-
OpenPOWER on IntegriCloud