It simplifies the logic and removes the need for manual bookkeeping.
Details
Details
- Reviewers
RKSimon craig.topper efriedma spatel foad arsenm - Group Reviewers
Restricted Project - Commits
- rG226086230cba: [DAG] Use recursivelyDeleteUnusedNodes in CommitTargetLoweringOpt.
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Should I proceed with this? This isn't vital, but it is fairly trivial, and seems better to me.
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | ||
---|---|---|
1209 | Why don't we need the WorklistRemove here anymore? The comment applies to what can happen inside of ReplaceAllUsesOfValueWith. |
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | ||
---|---|---|
1209 | The run call itself already adds a WorkListRemover, so this one is redundant. |
Why don't we need the WorklistRemove here anymore? The comment applies to what can happen inside of ReplaceAllUsesOfValueWith.