linux-packaging-mono/external/llvm/test/CodeGen/ARM/cortex-a57-misched-vstm.ll
Xamarin Public Jenkins (auto-signing) e19d552987 Imported Upstream version 5.18.0.161
Former-commit-id: 4db48158d3a35497b8f118ab21b5f08ac3d86d98
2018-10-19 08:34:24 +00:00

24 lines
694 B
LLVM

; REQUIRES: asserts
; RUN: llc < %s -mtriple=armv8r-eabi -mcpu=cortex-a57 -misched-postra -enable-misched -verify-misched -debug-only=machine-scheduler -o - 2>&1 > /dev/null | FileCheck %s
; 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
}