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

Eli Friedman via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 7 17:48:13 PST 2016


efriedma added a comment.

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.)

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

Please make sure to upload patches with full context.


https://reviews.llvm.org/D26381





More information about the llvm-commits mailing list