[PATCH] D54023: [LoopSimplifyCFG] Delete dead in-loop blocks

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 4 21:34:39 PST 2018


mkazantsev updated this revision to Diff 176762.
mkazantsev marked an inline comment as done.
mkazantsev added a comment.

Added asserts that we do not delete current loop and its header while dealing with dead blocks.


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

https://reviews.llvm.org/D54023

Files:
  lib/Transforms/Scalar/LoopSimplifyCFG.cpp
  test/Transforms/LoopSimplifyCFG/constant-fold-branch.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54023.176762.patch
Type: text/x-patch
Size: 14467 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181205/3c06ac31/attachment-0001.bin>


More information about the llvm-commits mailing list