mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-14 23:48:56 +00:00
937b90f998
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27058 91177308-0d34-0410-b5e6-96231b3b80d8
9 lines
211 B
LLVM
9 lines
211 B
LLVM
; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 | grep vxor
|
|
|
|
void %foo(<4 x float> *%P) {
|
|
%T = load <4 x float> * %P
|
|
%S = add <4 x float> zeroinitializer, %T
|
|
store <4 x float> %S, <4 x float>* %P
|
|
ret void
|
|
}
|