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

Whitney Tsang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 4 10:59:23 PST 2019


Whitney added a comment.

Didn't notice Bardia already posted something similar.

Actually we can do a small modification in deleteDeadLoop to have it works for loop nest, by changing the last line from `LI->erase(L);` to erasing all loops in L. Would that way be more preferable?


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