mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-24 06:30:19 +00:00
97a6e8c851
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31534 91177308-0d34-0410-b5e6-96231b3b80d8
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
|
|
}
|