diff options
author | Evan Cheng <evan.cheng@apple.com> | 2007-07-30 07:52:03 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2007-07-30 07:52:03 +0000 |
commit | b6dad9fa8efe848bba39681e34131a7093df93b6 (patch) | |
tree | 394a41f791e6d426f4c4c14372c47f3d38a1db93 /test | |
parent | c5912e3990403e5414d1120265e752b76220169f (diff) | |
download | external_llvm-b6dad9fa8efe848bba39681e34131a7093df93b6.zip external_llvm-b6dad9fa8efe848bba39681e34131a7093df93b6.tar.gz external_llvm-b6dad9fa8efe848bba39681e34131a7093df93b6.tar.bz2 |
New test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40587 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/PowerPC/vec_fneg.ll | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/CodeGen/PowerPC/vec_fneg.ll b/test/CodeGen/PowerPC/vec_fneg.ll new file mode 100644 index 0000000..2ef2099 --- /dev/null +++ b/test/CodeGen/PowerPC/vec_fneg.ll @@ -0,0 +1,8 @@ +; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 | grep vsubfp + +define void @t(<4 x float>* %A) { + %tmp2 = load <4 x float>* %A + %tmp3 = sub <4 x float> < float -0.000000e+00, float -0.000000e+00, float -0.000000e+00, float -0.000000e+00 >, %tmp2 + store <4 x float> %tmp3, <4 x float>* %A + ret void +} |