diff options
Diffstat (limited to 'llvm/test/Regression/CodeGen/X86/2004-02-12-Memcpy.llx')
-rw-r--r-- | llvm/test/Regression/CodeGen/X86/2004-02-12-Memcpy.llx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/test/Regression/CodeGen/X86/2004-02-12-Memcpy.llx b/llvm/test/Regression/CodeGen/X86/2004-02-12-Memcpy.llx index ab403432585..8cd9a50cbb3 100644 --- a/llvm/test/Regression/CodeGen/X86/2004-02-12-Memcpy.llx +++ b/llvm/test/Regression/CodeGen/X86/2004-02-12-Memcpy.llx @@ -1,5 +1,5 @@ ; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 | grep movs -declare sbyte* %llvm.memcpy(sbyte* %A, sbyte* %B, uint %amt, uint %align) +declare void %llvm.memcpy.i32(sbyte* %A, sbyte* %B, uint %amt, uint %align) %A = global [1000 x int] zeroinitializer %B = global [1000 x int] zeroinitializer @@ -7,17 +7,17 @@ declare sbyte* %llvm.memcpy(sbyte* %A, sbyte* %B, uint %amt, uint %align) void %main() { ; dword copy - call sbyte* %llvm.memcpy(sbyte* cast (int* getelementptr ([1000 x int]* %A, long 0, long 0) to sbyte*), + call void %llvm.memcpy.i32(sbyte* cast (int* getelementptr ([1000 x int]* %A, long 0, long 0) to sbyte*), sbyte* cast (int* getelementptr ([1000 x int]* %B, long 0, long 0) to sbyte*), uint 4000, uint 4) ; word copy - call sbyte* %llvm.memcpy(sbyte* cast (int* getelementptr ([1000 x int]* %A, long 0, long 0) to sbyte*), + call void %llvm.memcpy.i32(sbyte* cast (int* getelementptr ([1000 x int]* %A, long 0, long 0) to sbyte*), sbyte* cast (int* getelementptr ([1000 x int]* %B, long 0, long 0) to sbyte*), uint 4000, uint 2) ; byte copy - call sbyte* %llvm.memcpy(sbyte* cast (int* getelementptr ([1000 x int]* %A, long 0, long 0) to sbyte*), + call void %llvm.memcpy.i32(sbyte* cast (int* getelementptr ([1000 x int]* %A, long 0, long 0) to sbyte*), sbyte* cast (int* getelementptr ([1000 x int]* %B, long 0, long 0) to sbyte*), uint 4000, uint 1) ret void |