llvm/test/CodeGen/PowerPC/pr26193.ll
Nemanja Ivanovic 9a3ee3636c Add the missing test case for PR26193
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@259888 91177308-0d34-0410-b5e6-96231b3b80d8
2016-02-05 15:03:17 +00:00

10 lines
314 B
LLVM

; 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>)