diff options
Diffstat (limited to 'test/CodeGen/PowerPC/2007-09-04-AltivecDST.ll')
-rw-r--r-- | test/CodeGen/PowerPC/2007-09-04-AltivecDST.ll | 15 |
1 files changed, 15 insertions, 0 deletions
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 0000000..82ef2b8 --- /dev/null +++ b/test/CodeGen/PowerPC/2007-09-04-AltivecDST.ll @@ -0,0 +1,15 @@ +; RUN: llc < %s -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) |