2015-12-02 19:53:44 +08:00
|
|
|
; RUN: llc -mtriple=aarch64-linux-gnuabi -mcpu=cortex-a35 -o - %s | FileCheck %s
|
2014-07-29 10:09:26 +08:00
|
|
|
; 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
|
2015-02-04 21:31:29 +08:00
|
|
|
; RUN: llc -mtriple=aarch64-linux-gnuabi -mcpu=cortex-a72 -o - %s | FileCheck %s
|
2016-06-02 18:48:52 +08:00
|
|
|
; RUN: llc -mtriple=aarch64-linux-gnuabi -mcpu=cortex-a73 -o - %s | FileCheck %s
|
2016-01-05 20:51:59 +08:00
|
|
|
; RUN: llc -mtriple=aarch64-linux-gnuabi -mcpu=exynos-m1 -o - %s | FileCheck %s
|
2016-08-02 02:39:45 +08:00
|
|
|
; RUN: llc -mtriple=aarch64-linux-gnuabi -mcpu=exynos-m2 -o - %s | FileCheck %s
|
2016-12-14 07:31:41 +08:00
|
|
|
; RUN: llc -mtriple=aarch64-linux-gnuabi -mcpu=exynos-m3 -o - %s | FileCheck %s
|
2016-11-16 05:34:12 +08:00
|
|
|
; RUN: llc -mtriple=aarch64-linux-gnuabi -mcpu=falkor -o - %s | FileCheck %s
|
2016-02-12 23:51:51 +08:00
|
|
|
; RUN: llc -mtriple=aarch64-linux-gnuabi -mcpu=kryo -o - %s | FileCheck %s
|
2017-03-08 03:42:40 +08:00
|
|
|
; RUN: llc -mtriple=aarch64-linux-gnuabi -mcpu=thunderx2t99 -o - %s | FileCheck %s
|
2016-06-21 23:16:34 +08:00
|
|
|
; RUN: llc -mtriple=aarch64-linux-gnuabi -mattr=+custom-cheap-as-move -o - %s | FileCheck %s
|
2014-07-29 10:09:26 +08:00
|
|
|
|
|
|
|
%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
|
2016-02-27 03:40:34 +08:00
|
|
|
; CHECK-NOT: mov
|
|
|
|
; CHECK-NEXT: bl f
|
2014-07-29 10:09:26 +08:00
|
|
|
call void @f(%X* %tmp)
|
|
|
|
; CHECK: add x0, sp, #8
|
2016-02-27 03:40:34 +08:00
|
|
|
; CHECK-NOT: mov
|
|
|
|
; CHECK-NEXT: bl f
|
2014-07-29 10:09:26 +08:00
|
|
|
ret void
|
|
|
|
}
|