You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
1.0 KiB
26 lines
1.0 KiB
; RUN: llc -mtriple=aarch64-linux-gnuabi -mcpu=cortex-a35 -o - %s | FileCheck %s
|
|
; 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
|
|
; RUN: llc -mtriple=aarch64-linux-gnuabi -mcpu=cortex-a72 -o - %s | FileCheck %s
|
|
; RUN: llc -mtriple=aarch64-linux-gnuabi -mcpu=cortex-a73 -o - %s | FileCheck %s
|
|
; RUN: llc -mtriple=aarch64-linux-gnuabi -mcpu=exynos-m1 -o - %s | FileCheck %s
|
|
; RUN: llc -mtriple=aarch64-linux-gnuabi -mcpu=kryo -o - %s | FileCheck %s
|
|
; RUN: llc -mtriple=aarch64-linux-gnuabi -mcpu=vulcan -o - %s | FileCheck %s
|
|
; RUN: llc -mtriple=aarch64-linux-gnuabi -mattr=+custom-cheap-as-move -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-NOT: mov
|
|
; CHECK-NEXT: bl f
|
|
call void @f(%X* %tmp)
|
|
; CHECK: add x0, sp, #8
|
|
; CHECK-NOT: mov
|
|
; CHECK-NEXT: bl f
|
|
ret void
|
|
}
|