diff options
author | Chris Lattner <sabre@nondot.org> | 2006-04-12 16:49:16 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-04-12 16:49:16 +0000 |
commit | 8e7401e52f3938a775819e8a6de095ecf7dbad92 (patch) | |
tree | c57ab0262a0f2f76583302c1669b725b4427f457 /test | |
parent | ace44dbbabe9ee0498834957632df2af0dbf9c59 (diff) |
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27608 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/PowerPC/vxor-canonicalize.ll | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/CodeGen/PowerPC/vxor-canonicalize.ll b/test/CodeGen/PowerPC/vxor-canonicalize.ll new file mode 100644 index 0000000000..b14d85a9d7 --- /dev/null +++ b/test/CodeGen/PowerPC/vxor-canonicalize.ll @@ -0,0 +1,9 @@ +; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 | grep vxor | wc -l | grep 1 +; There should be exactly one vxor here, not two. + +void %test(<4 x float>* %P1, <4 x int>* %P2) { + store <4 x float> zeroinitializer, <4 x float>* %P1 + store <4 x int> zeroinitializer, <4 x int>* %P2 + ret void +} + |