2017-06-02 16:53:19 +08:00
|
|
|
; REQUIRES: asserts
|
2019-11-05 17:10:58 +08:00
|
|
|
; RUN: llc < %s -mtriple=armv8r-eabi -mcpu=cortex-a57 -mattr=use-misched -verify-misched -debug-only=machine-scheduler -o - 2>&1 > /dev/null | FileCheck %s
|
2017-06-02 16:53:19 +08:00
|
|
|
|
|
|
|
; CHECK: ********** MI Scheduling **********
|
|
|
|
; We need second, post-ra scheduling to have VSTM instruction combined from single-stores
|
|
|
|
; CHECK: ********** MI Scheduling **********
|
|
|
|
; CHECK: schedule starting
|
|
|
|
; CHECK: VSTMDIA
|
|
|
|
; CHECK: rdefs left
|
|
|
|
; CHECK-NEXT: Latency : 2
|
|
|
|
|
|
|
|
%bigVec = type [2 x double]
|
|
|
|
|
|
|
|
@var = global %bigVec zeroinitializer
|
|
|
|
|
|
|
|
define void @bar(%bigVec* %ptr) {
|
|
|
|
|
|
|
|
%tmp = load %bigVec, %bigVec* %ptr
|
|
|
|
store %bigVec %tmp, %bigVec* @var
|
|
|
|
|
|
|
|
ret void
|
|
|
|
}
|
|
|
|
|