summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-11-07 04:11:14 +0000
committerChris Lattner <sabre@nondot.org>2006-11-07 04:11:14 +0000
commite553746e49178c9a52d51e508f0f6d77e5c9f943 (patch)
tree846ab09d5ea006772e95bd3ac5204f365d95b825
parentfix encoding of BLR (diff)
downloadllvm-project-e553746e49178c9a52d51e508f0f6d77e5c9f943.tar.gz
llvm-project-e553746e49178c9a52d51e508f0f6d77e5c9f943.tar.bz2
llvm-project-e553746e49178c9a52d51e508f0f6d77e5c9f943.zip
new testcase
llvm-svn: 31486
-rw-r--r--llvm/test/Regression/CodeGen/Generic/2006-11-06-MemIntrinsicExpand.ll12
1 files changed, 12 insertions, 0 deletions
diff --git a/llvm/test/Regression/CodeGen/Generic/2006-11-06-MemIntrinsicExpand.ll b/llvm/test/Regression/CodeGen/Generic/2006-11-06-MemIntrinsicExpand.ll
new file mode 100644
index 000000000000..b6fadaf94139
--- /dev/null
+++ b/llvm/test/Regression/CodeGen/Generic/2006-11-06-MemIntrinsicExpand.ll
@@ -0,0 +1,12 @@
+; RUN: llvm-as < %s | llc -march=x86 &&
+; RUN: llvm-as < %s | llc -march=x86 | not grep adc
+
+; PR988
+
+declare void %llvm.memcpy.i64(sbyte*, sbyte*, ulong, uint)
+
+void %foo(ulong %a) {
+ %b = add ulong %a, 1
+call void %llvm.memcpy.i64( sbyte* null, sbyte* null, ulong %b, uint 1 )
+ ret void
+}