[PATCH] D59626: Add MachineDCE pass after RenameIndependentSubregs
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 25 12:35:37 PDT 2019
arsenm added inline comments.
================
Comment at: lib/CodeGen/DeadMachineInstructionElim.cpp:193-197
+ for (auto Reg : RecalcRegs) {
+ LIS->removeInterval(Reg);
+ if (!MRI->reg_empty(Reg))
+ LIS->createAndComputeVirtRegInterval(Reg);
+ }
----------------
Can you just use shrinkToUses?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D59626/new/
https://reviews.llvm.org/D59626
More information about the llvm-commits
mailing list