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

Whitney Tsang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Dec 7 17:49:34 PST 2019


Whitney added a comment.

> what is missing to be correct for nested loops as well?

The only think I can see missing is `LI->erase(L)`, which relink the subloops of L to the parent of L, or change them to top level loops if L has no parent.


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