diff options
author | Dan Gohman <gohman@apple.com> | 2009-06-04 18:22:31 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-06-04 18:22:31 +0000 |
commit | 0e19a3f89e35ded2c3dd1aeabc784a7d6440dd7e (patch) | |
tree | 0bc8930b38bfc5112f2d3320efcd7758eb27f8ef /test | |
parent | ef23d711bc4ff72799693f40c15b29cfdabd89a0 (diff) | |
download | external_llvm-0e19a3f89e35ded2c3dd1aeabc784a7d6440dd7e.zip external_llvm-0e19a3f89e35ded2c3dd1aeabc784a7d6440dd7e.tar.gz external_llvm-0e19a3f89e35ded2c3dd1aeabc784a7d6440dd7e.tar.bz2 |
Check in test changes that I accidentally left out of r72872.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72875 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/X86/fmul-zero.ll | 9 | ||||
-rw-r--r-- | test/Transforms/InstCombine/mul.ll | 8 |
2 files changed, 9 insertions, 8 deletions
diff --git a/test/CodeGen/X86/fmul-zero.ll b/test/CodeGen/X86/fmul-zero.ll new file mode 100644 index 0000000..8f705a4 --- /dev/null +++ b/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/test/Transforms/InstCombine/mul.ll b/test/Transforms/InstCombine/mul.ll index 1a74025..0455a3f 100644 --- a/test/Transforms/InstCombine/mul.ll +++ b/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 -} - |