diff options
author | Nemanja Ivanovic <nemanja.i.ibm@gmail.com> | 2016-02-05 15:03:17 +0000 |
---|---|---|
committer | Nemanja Ivanovic <nemanja.i.ibm@gmail.com> | 2016-02-05 15:03:17 +0000 |
commit | d05e072b74182c40729b144895567de82cb96a3b (patch) | |
tree | 381fc333ce57ad79f54e3f6c8f84005b1bcf5726 /llvm/test/CodeGen | |
parent | d30eb7d77d318e5e12a9972a09b79e60fa7182d1 (diff) | |
download | bcm5719-llvm-d05e072b74182c40729b144895567de82cb96a3b.tar.gz bcm5719-llvm-d05e072b74182c40729b144895567de82cb96a3b.zip |
Add the missing test case for PR26193
llvm-svn: 259888
Diffstat (limited to 'llvm/test/CodeGen')
-rw-r--r-- | llvm/test/CodeGen/PowerPC/pr26193.ll | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/PowerPC/pr26193.ll b/llvm/test/CodeGen/PowerPC/pr26193.ll new file mode 100644 index 00000000000..acd99bc0331 --- /dev/null +++ b/llvm/test/CodeGen/PowerPC/pr26193.ll @@ -0,0 +1,9 @@ +; RUN: llc -mcpu=pwr7 -mtriple=powerpc64le-unknown-unknown < %s | FileCheck %s +define <8 x i16> @test(<4 x i32> %a) { +entry: + %0 = tail call <8 x i16> @llvm.ppc.altivec.vpkswss(<4 x i32> %a, <4 x i32> %a) + ret <8 x i16> %0 +} +; CHECK: vpkswss 2, + +declare <8 x i16> @llvm.ppc.altivec.vpkswss(<4 x i32>, <4 x i32>) |