1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00
llvm-mirror/test/CodeGen/PowerPC/pr26193.ll
Nemanja Ivanovic a54ae64cf1 Add the missing test case for PR26193
llvm-svn: 259888
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>)