[llvm] r259888 - Add the missing test case for PR26193

Nemanja Ivanovic via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 5 07:03:17 PST 2016


Author: nemanjai
Date: Fri Feb  5 09:03:17 2016
New Revision: 259888

URL: http://llvm.org/viewvc/llvm-project?rev=259888&view=rev
Log:
Add the missing test case for PR26193


Added:
    llvm/trunk/test/CodeGen/PowerPC/pr26193.ll

Added: llvm/trunk/test/CodeGen/PowerPC/pr26193.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/pr26193.ll?rev=259888&view=auto
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/pr26193.ll (added)
+++ llvm/trunk/test/CodeGen/PowerPC/pr26193.ll Fri Feb  5 09:03:17 2016
@@ -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>)




More information about the llvm-commits mailing list