mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-28 14:10:41 +00:00
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27608 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ace44dbbab
commit
8e7401e52f
9
test/CodeGen/PowerPC/vxor-canonicalize.ll
Normal file
9
test/CodeGen/PowerPC/vxor-canonicalize.ll
Normal file
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user