diff options
| author | Chris Lattner <sabre@nondot.org> | 2006-03-24 07:47:53 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2006-03-24 07:47:53 +0000 |
| commit | 23fd653efd21a93c1e8ef83c3fa61617d89171fd (patch) | |
| tree | 785397da3e046cdd1f422e431e7424ad83c3d661 | |
| parent | d813b95fc3ee9706e9b29d2a3fbc2500e0029011 (diff) | |
| download | bcm5719-llvm-23fd653efd21a93c1e8ef83c3fa61617d89171fd.tar.gz bcm5719-llvm-23fd653efd21a93c1e8ef83c3fa61617d89171fd.zip | |
new testcase
llvm-svn: 27058
| -rw-r--r-- | llvm/test/Regression/CodeGen/PowerPC/vec_zero.ll | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/test/Regression/CodeGen/PowerPC/vec_zero.ll b/llvm/test/Regression/CodeGen/PowerPC/vec_zero.ll new file mode 100644 index 00000000000..09f6e37a533 --- /dev/null +++ b/llvm/test/Regression/CodeGen/PowerPC/vec_zero.ll @@ -0,0 +1,8 @@ +; 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 +} |

