[PATCH] D156999: [Inline Spiller] Consider bundles when marking defs as dead
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 3 06:48:42 PDT 2023
arsenm added inline comments.
================
Comment at: llvm/lib/CodeGen/InlineSpiller.cpp:754
+ if (It->getOperand(0).isReg() && It->getOperand(0).getReg() == Reg) {
+ It->addRegisterDead(Reg, &TRI);
+ if (It->allDefsAreDead()) {
----------------
I also think addRegisterDead only needs to be done for one instruction in the bundle?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D156999/new/
https://reviews.llvm.org/D156999
More information about the llvm-commits
mailing list