[PATCH] D26381: LibcallsShrinkWrap doesn't preserve the CFG

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 7 19:23:24 PST 2016


davide added a comment.

In https://reviews.llvm.org/D26381#588903, @efriedma wrote:

> Can you use -verify-dom-info to write a testcase, as opposed to a run line with three passes?  (If that doesn't actually work, please ignore this.)


I tried before, but that doesn't actually work.

> LibcallsShrinkWrap should preserve GlobalsAAWrapperPass, at least.  domtree would probably be easy to preserve, but that can be done as a followup.

Done.

> Please make sure to upload patches with full context.

Sorry, for some reason I forgot to add `-U` to my `git diff` invocation..


https://reviews.llvm.org/D26381





More information about the llvm-commits mailing list