aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/Generic/2006-11-06-MemIntrinsicExpand.ll
diff options
context:
space:
mode:
authorTanya Lattner <tonic@nondot.org>2008-02-19 01:41:04 +0000
committerTanya Lattner <tonic@nondot.org>2008-02-19 01:41:04 +0000
commit53a66d10f01ebfeac7b8e59ca677f2cf2d4a3b26 (patch)
tree896c6dee3a55f268ea98656237c7954799fd8ec7 /test/CodeGen/Generic/2006-11-06-MemIntrinsicExpand.ll
parentefec751a1b786724862ceff52748df94873a807e (diff)
downloadexternal_llvm-53a66d10f01ebfeac7b8e59ca677f2cf2d4a3b26.zip
external_llvm-53a66d10f01ebfeac7b8e59ca677f2cf2d4a3b26.tar.gz
external_llvm-53a66d10f01ebfeac7b8e59ca677f2cf2d4a3b26.tar.bz2
Remove llvm-upgrade and update tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47296 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Generic/2006-11-06-MemIntrinsicExpand.ll')
-rw-r--r--test/CodeGen/Generic/2006-11-06-MemIntrinsicExpand.ll14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/CodeGen/Generic/2006-11-06-MemIntrinsicExpand.ll b/test/CodeGen/Generic/2006-11-06-MemIntrinsicExpand.ll
index 330bee6..a773759 100644
--- a/test/CodeGen/Generic/2006-11-06-MemIntrinsicExpand.ll
+++ b/test/CodeGen/Generic/2006-11-06-MemIntrinsicExpand.ll
@@ -1,11 +1,11 @@
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 | not grep adc
-
+; RUN: llvm-as < %s | llc -march=x86 | not grep adc
; PR987
-declare void %llvm.memcpy.i64(sbyte*, sbyte*, ulong, uint)
+declare void @llvm.memcpy.i64(i8*, i8*, i64, i32)
-void %foo(ulong %a) {
- %b = add ulong %a, 1
-call void %llvm.memcpy.i64( sbyte* null, sbyte* null, ulong %b, uint 1 )
- ret void
+define void @foo(i64 %a) {
+ %b = add i64 %a, 1 ; <i64> [#uses=1]
+ call void @llvm.memcpy.i64( i8* null, i8* null, i64 %b, i32 1 )
+ ret void
}
+