mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 17:32:19 +00:00
For PR1336:
Upgrade the intrinsic to its new form. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36108 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
296ba1bd9e
commit
f9dd33268d
@ -5,13 +5,12 @@
|
||||
; everything up. :( Test that this does not happen anymore.
|
||||
;
|
||||
; RUN: llvm-upgrade < %s | llvm-as | llc -march=c | not grep _memcpy
|
||||
; XFAIL: *
|
||||
|
||||
declare void %llvm.memcpy(sbyte*, sbyte*, uint,uint)
|
||||
declare void %llvm.memcpy.i32(sbyte*, sbyte*, uint,uint)
|
||||
declare float* %memcpy(int*, uint,int)
|
||||
|
||||
int %test(sbyte *%A, sbyte* %B, int* %C) {
|
||||
call float* %memcpy(int* %C, uint 4, int 17)
|
||||
call void %llvm.memcpy(sbyte* %A, sbyte* %B, uint 123, uint 14)
|
||||
call void %llvm.memcpy.i32(sbyte* %A, sbyte* %B, uint 123, uint 14)
|
||||
ret int 7
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user