diff options
| author | Reid Spencer <rspencer@reidspencer.com> | 2006-12-02 20:41:53 +0000 |
|---|---|---|
| committer | Reid Spencer <rspencer@reidspencer.com> | 2006-12-02 20:41:53 +0000 |
| commit | 2e7e4f2e016ee8703cb3b3fcc1b00554cd7ac9b9 (patch) | |
| tree | d5aedb0d45f67e33fa099d72c927e5ba273f42e4 /test/CodeGen | |
| parent | ae8e54af9d675b005f1a9edff06243d62be6e4fe (diff) | |
| download | llvm-2e7e4f2e016ee8703cb3b3fcc1b00554cd7ac9b9.tar.gz llvm-2e7e4f2e016ee8703cb3b3fcc1b00554cd7ac9b9.tar.bz2 llvm-2e7e4f2e016ee8703cb3b3fcc1b00554cd7ac9b9.tar.xz | |
Upgrade intrinsic function calls manually.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32137 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen')
| -rw-r--r-- | test/CodeGen/Alpha/2005-07-12-TwoMallocCalls.ll | 4 | ||||
| -rw-r--r-- | test/CodeGen/X86/2004-02-12-Memcpy.llx | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/test/CodeGen/Alpha/2005-07-12-TwoMallocCalls.ll b/test/CodeGen/Alpha/2005-07-12-TwoMallocCalls.ll index eb5c6d911d..1761d5d0e7 100644 --- a/test/CodeGen/Alpha/2005-07-12-TwoMallocCalls.ll +++ b/test/CodeGen/Alpha/2005-07-12-TwoMallocCalls.ll @@ -3,7 +3,7 @@ implementation ; Functions: -declare void %llvm.memset(sbyte*, ubyte, ulong, uint) +declare void %llvm.memset.i64(sbyte*, ubyte, ulong, uint) bool %l12_l94_bc_divide_endif_2E_3_2E_ce(int* %tmp.71.reload, uint %scale2.1.3, uint %extra.0, %typedef.bc_struct* %n1, %typedef.bc_struct* %n2, int* %tmp.92.reload, uint %tmp.94.reload, int* %tmp.98.reload, uint %tmp.100.reload, sbyte** %tmp.112.out, uint* %tmp.157.out, sbyte** %tmp.158.out) { newFuncRoot: @@ -12,6 +12,6 @@ newFuncRoot: %tmp.123 = add uint %tmp.122, %tmp.100.reload ; <uint> [#uses=2] %tmp.112 = malloc sbyte, uint %tmp.123 ; <sbyte*> [#uses=3] %tmp.137 = cast uint %tmp.123 to ulong ; <ulong> [#uses=1] - tail call void %llvm.memset( sbyte* %tmp.112, ubyte 0, ulong %tmp.137, uint 0 ) + tail call void %llvm.memset.i64( sbyte* %tmp.112, ubyte 0, ulong %tmp.137, uint 0 ) ret bool true } diff --git a/test/CodeGen/X86/2004-02-12-Memcpy.llx b/test/CodeGen/X86/2004-02-12-Memcpy.llx index ab40343258..8cd9a50cbb 100644 --- a/test/CodeGen/X86/2004-02-12-Memcpy.llx +++ b/test/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 |
