aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorPhilip Reames <preames@rivosinc.com>2025-10-07 07:19:58 -0700
committerGitHub <noreply@github.com>2025-10-07 07:19:58 -0700
commit6ae658308919e1c01cb4221f8cd07365c7ce6fc2 (patch)
tree1cbc2c75e8e58d547d1cbd4305cabd8e11ccb68c /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent0797bb7bdd5609eff06d0428bd45b0bf86eb6f54 (diff)
downloadllvm-6ae658308919e1c01cb4221f8cd07365c7ce6fc2.zip
llvm-6ae658308919e1c01cb4221f8cd07365c7ce6fc2.tar.gz
llvm-6ae658308919e1c01cb4221f8cd07365c7ce6fc2.tar.bz2
[CodeGen] Finish untangling LRE::scanRemattable [nfc] (#161963)
This is an attempt to simplify the rematerialization logic in InlineSpiller and SplitKit. I'd earlier done the same for RegisterCoalescer in 57b673. The basic idea of this change is that we don't need to check whether an instruction is rematerializable early. Instead, we can defer the check to the point where we're actually trying to materialize something. We also don't need to indirect that query through a VNI key, and can instead just check the instruction directly at the use site.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions