mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-24 22:32:47 +00:00
12 lines
240 B
LLVM
12 lines
240 B
LLVM
|
; RUN: llvm-as < %s | llc -march=ppc32 &&
|
||
|
; RUN: llvm-as < %s | llc -march=ppc32 | not grep addi
|
||
|
|
||
|
; XFAIL: *
|
||
|
|
||
|
int *%test(int *%X, int *%dest) {
|
||
|
%Y = getelementptr int* %X, int 4
|
||
|
%A = load int* %Y
|
||
|
store int %A, int* %dest
|
||
|
ret int* %Y
|
||
|
}
|