]> granicus.if.org Git - llvm/commit
[IPRA][ARM] Disable no-CSR optimisation for ARM
authorOliver Stannard <oliver.stannard@linaro.org>
Fri, 2 Aug 2019 10:23:17 +0000 (10:23 +0000)
committerOliver Stannard <oliver.stannard@linaro.org>
Fri, 2 Aug 2019 10:23:17 +0000 (10:23 +0000)
commitb5c77aec5492a9d98bcbb57b5216cf11452552a8
treef152e6269409f9ce070f04303c2c204017938004
parentbdb35079c55c4b310faa091517f96879b3365f0a
[IPRA][ARM] Disable no-CSR optimisation for ARM

This optimisation isn't generally profitable for ARM, because we can
save/restore many registers in the prologue and epilogue using the PUSH
and POP instructions, but mostly use individual LDR/STR instructions for
other spills.

Differential revision: https://reviews.llvm.org/D64910

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@367670 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/TargetFrameLowering.h
lib/CodeGen/RegUsageInfoCollector.cpp
lib/CodeGen/TargetFrameLoweringImpl.cpp
lib/Target/ARM/ARMFrameLowering.h
test/CodeGen/ARM/ipra-no-csr.ll [new file with mode: 0644]