From c3536b8ecbe49b60cdf9ab76ca79dcea765f2802 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Wed, 5 Sep 2007 04:05:20 +0000 Subject: Add the 64-bit versions of the DS* Altivec instructions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41717 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/PowerPC/2007-09-04-AltivecDST.ll | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 test/CodeGen/PowerPC/2007-09-04-AltivecDST.ll (limited to 'test/CodeGen') diff --git a/test/CodeGen/PowerPC/2007-09-04-AltivecDST.ll b/test/CodeGen/PowerPC/2007-09-04-AltivecDST.ll new file mode 100644 index 0000000000..9c8fa97be9 --- /dev/null +++ b/test/CodeGen/PowerPC/2007-09-04-AltivecDST.ll @@ -0,0 +1,15 @@ +; RUN: llvm-as < %s | llc -march=ppc64 | 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) -- cgit v1.2.3-70-g09d2