[PATCH] D87316: Mark FMOV constant materialization as being as cheap as a move.
Owen Anderson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 8 11:45:16 PDT 2020
resistor created this revision.
Herald added subscribers: llvm-commits, asbirlea, hiraditya.
Herald added a project: LLVM.
resistor requested review of this revision.
This prevents us from doing things like LICM'ing it out of a loop,
which is usually a net loss because we end up having to spill a
callee-saved FPR to accomodate it.
This does perturb instruction scheduling around this instruction,
so a number of tests had to be updated to account for it.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D87316
Files:
llvm/lib/Target/AArch64/AArch64InstrInfo.td
llvm/test/CodeGen/AArch64/arm64-aapcs.ll
llvm/test/CodeGen/AArch64/fmov-imm-licm.ll
llvm/test/CodeGen/AArch64/fp-cond-sel.ll
llvm/test/CodeGen/AArch64/func-calls.ll
llvm/test/CodeGen/AArch64/pow.ll
llvm/test/CodeGen/AArch64/swifterror.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87316.290555.patch
Type: text/x-patch
Size: 7795 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200908/071e636f/attachment.bin>
More information about the llvm-commits
mailing list