[PATCH] D70939: [LoopUtils] Add an utility to delete dead loop nest.

Bardia Mahjour via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 4 07:58:30 PST 2019


bmahjour added a comment.

The deleteDeadLoop function when called on the outer loop will effectively remove the subloops from the CFG too (make them unreachable). Maybe we should change `deleteDeadLoop` to also take the subloops into account when updating the analysis passed to it. Then we shouldn't need a separate function to delete loop nests.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D70939/new/

https://reviews.llvm.org/D70939





More information about the llvm-commits mailing list