llvm.org GIT mirror llvm / master test / CodeGen / PowerPC / pr26193.ll
master

Tree @master (Download .tar.gz)

pr26193.ll @master

38caf19
9a3ee36
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
; RUN: llc -verify-machineinstrs -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>)