[PATCH] D64910: [IPRA][ARM] Disable no-CSR optimisation for ARM
Oliver Stannard (Linaro) via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 18 03:20:01 PDT 2019
ostannard created this revision.
ostannard added reviewers: mehdi_amini, arsenm.
Herald added subscribers: hiraditya, kristof.beyls, javed.absar, nhaehnle, wdng, jvesely.
Herald added a project: LLVM.
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.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D64910
Files:
llvm/include/llvm/CodeGen/TargetFrameLowering.h
llvm/lib/CodeGen/RegUsageInfoCollector.cpp
llvm/lib/CodeGen/TargetFrameLoweringImpl.cpp
llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
llvm/lib/Target/ARM/ARMFrameLowering.h
llvm/test/CodeGen/ARM/ipra-no-csr.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64910.210521.patch
Type: text/x-patch
Size: 4023 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190718/66e262de/attachment.bin>
More information about the llvm-commits
mailing list