[PATCH] D40246: IR printing improvement for loop passes

Fedor Sergeev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 20 06:30:42 PST 2017


fedor.sergeev created this revision.

Loop-pass printing is somewhat deficient since it does not provide the
context around the loop (e.g. preheader). This context information becomes
pretty essential when analyzing transformations that move stuff out of the loop.

Extending printLoop to cover preheader and exit blocks (if any).


https://reviews.llvm.org/D40246

Files:
  lib/Analysis/LoopInfo.cpp
  test/Other/loop-pass-printer.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40246.123579.patch
Type: text/x-patch
Size: 2655 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171120/903ffe9e/attachment.bin>


More information about the llvm-commits mailing list