summaryrefslogtreecommitdiff
path: root/test/CodeGen/PowerPC/2007-09-04-AltivecDST.ll
blob: 25f069957f4209b2643d2e9ce8cf31e056e802fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
; RUN: llc -verify-machineinstrs < %s -mtriple=ppc64-- -mattr=+altivec | grep dst | count 4

define hidden void @_Z4borkPc(i8* %image) {
entry:
	tail call void @llvm.ppc.altivec.dst( i8* %image, i32 8, i32 0 )
	tail call void @llvm.ppc.altivec.dstt( i8* %image, i32 8, i32 0 )
	tail call void @llvm.ppc.altivec.dstst( i8* %image, i32 8, i32 0 )
	tail call void @llvm.ppc.altivec.dststt( i8* %image, i32 8, i32 0 )
	ret void
}

declare void @llvm.ppc.altivec.dst(i8*, i32, i32)
declare void @llvm.ppc.altivec.dstt(i8*, i32, i32)
declare void @llvm.ppc.altivec.dstst(i8*, i32, i32)
declare void @llvm.ppc.altivec.dststt(i8*, i32, i32)