[PATCH] Call verifyPreservedAnalysis in LoopPass even if loop is deleted

Mark Heffernan meheff at google.com
Fri Oct 10 11:40:12 PDT 2014


Hi dexonsmith,

Unconditionally call verifyPreservedAnalysis after each loop pass.  Previously this function was not called in the case where the loop was eliminated (such as if the loop is fully unrolled).  However, we want to call verifyPreservedAnalysis in this case because preserved analysis such as LoopInfo may have been modified.

http://reviews.llvm.org/D5732

Files:
  lib/Analysis/LoopPass.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5732.14741.patch
Type: text/x-patch
Size: 514 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141010/46957508/attachment.bin>


More information about the llvm-commits mailing list