This test should have been updated with llvm 1.7!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36014 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer 2007-04-14 20:21:37 +00:00
parent 2b544beda3
commit d733ae8f5d

View File

@ -7,17 +7,17 @@
implementation
declare void %llvm.memmove(sbyte*, sbyte*, uint, uint)
declare void %llvm.memmove.i32(sbyte*, sbyte*, uint, uint)
void %test1(sbyte* %A, sbyte* %B, uint %N) {
;; 0 bytes -> noop.
call void %llvm.memmove(sbyte* %A, sbyte* %B, uint 0, uint 1)
call void %llvm.memmove.i32(sbyte* %A, sbyte* %B, uint 0, uint 1)
ret void
}
void %test2(sbyte *%A, uint %N) {
;; dest can't alias source since we can't write to source!
call void %llvm.memmove(sbyte* %A, sbyte* getelementptr ([33 x sbyte]* %S, int 0, int 0),
call void %llvm.memmove.i32(sbyte* %A, sbyte* getelementptr ([33 x sbyte]* %S, int 0, int 0),
uint %N, uint 1)
ret void
}