diff options
author | Owen Anderson <resistor@mac.com> | 2020-09-08 18:41:56 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2020-09-10 16:38:59 +0000 |
commit | 3d9c85e4d85bef3db495a37577f80b90ec9770b6 (patch) | |
tree | 810a276d00bcd0ea4515561046123994afa42d75 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | b0ae5332dc2be682564d6fbcc9755c6ae5120086 (diff) | |
download | llvm-3d9c85e4d85bef3db495a37577f80b90ec9770b6.zip llvm-3d9c85e4d85bef3db495a37577f80b90ec9770b6.tar.gz llvm-3d9c85e4d85bef3db495a37577f80b90ec9770b6.tar.bz2 |
Mark FMOV constant materialization as being as cheap as a move.
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.
Reviewed By: t.p.northover
Differential Revision: https://reviews.llvm.org/D87316
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions