mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-25 14:32:53 +00:00
17 lines
428 B
LLVM
17 lines
428 B
LLVM
|
; RUN: llc -mtriple=aarch64-linux-gnuabi -mcpu=cortex-a57 -o - %s | FileCheck %s
|
||
|
; RUN: llc -mtriple=aarch64-linux-gnuabi -mcpu=cortex-a53 -o - %s | FileCheck %s
|
||
|
|
||
|
%X = type { i64, i64, i64 }
|
||
|
declare void @f(%X*)
|
||
|
define void @t() {
|
||
|
entry:
|
||
|
%tmp = alloca %X
|
||
|
call void @f(%X* %tmp)
|
||
|
; CHECK: add x0, sp, #8
|
||
|
; CHECK-NEXT-NOT: mov
|
||
|
call void @f(%X* %tmp)
|
||
|
; CHECK: add x0, sp, #8
|
||
|
; CHECK-NEXT-NOT: mov
|
||
|
ret void
|
||
|
}
|