[PATCH] D46775: [LICM] Preserve DT and LoopInfo specifically

Karl-Johan Karlsson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 14 01:03:03 PDT 2018


Ka-Ka resigned from this revision.
Ka-Ka added a comment.

This definitely solve the problem I saw in the issue pr37369.

Previously LICM claimed that it preserved all CFG analyses which was not true as at least post dominator tree was not preserved. With this patch LICM claim to only preserve dominator tree and loop analysis. I leave to someone else to review if there are more of the CFG analyses that actually are preserved (and then should be marked as preserved in LICM).

Thanks for working on this.


https://reviews.llvm.org/D46775





More information about the llvm-commits mailing list