aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/Generic/2005-07-12-memcpy-i64-length.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/Generic/2005-07-12-memcpy-i64-length.ll')
-rw-r--r--test/CodeGen/Generic/2005-07-12-memcpy-i64-length.ll11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/CodeGen/Generic/2005-07-12-memcpy-i64-length.ll b/test/CodeGen/Generic/2005-07-12-memcpy-i64-length.ll
new file mode 100644
index 0000000..733202c
--- /dev/null
+++ b/test/CodeGen/Generic/2005-07-12-memcpy-i64-length.ll
@@ -0,0 +1,11 @@
+; RUN: llc < %s
+; Test that llvm.memcpy works with a i64 length operand on all targets.
+
+declare void @llvm.memcpy.i64(i8*, i8*, i64, i32)
+
+define void @l12_l94_bc_divide_endif_2E_3_2E_ce() {
+newFuncRoot:
+ tail call void @llvm.memcpy.i64( i8* null, i8* null, i64 0, i32 1 )
+ unreachable
+}
+