diff options
author | Chris Lattner <sabre@nondot.org> | 2006-11-07 04:11:14 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-11-07 04:11:14 +0000 |
commit | e553746e49178c9a52d51e508f0f6d77e5c9f943 (patch) | |
tree | 846ab09d5ea006772e95bd3ac5204f365d95b825 | |
parent | d94477f6c9f1c8fe1310c069b918903f76f6d07d (diff) | |
download | llvm-e553746e49178c9a52d51e508f0f6d77e5c9f943.zip llvm-e553746e49178c9a52d51e508f0f6d77e5c9f943.tar.gz llvm-e553746e49178c9a52d51e508f0f6d77e5c9f943.tar.bz2 |
new testcase
llvm-svn: 31486
-rw-r--r-- | llvm/test/Regression/CodeGen/Generic/2006-11-06-MemIntrinsicExpand.ll | 12 |
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 0000000..b6fadaf --- /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 +} |