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

Eli Friedman via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 8 09:30:20 PST 2016


efriedma added a comment.

Looked into the test a little; I guess to trigger -verify-dom-info, you need to compute domtree before -libcalls-shrinkwrap, and have a pass which requires domtree after it.  So "opt -domtree -libcalls-shrinkwrap -instcombine -verify-dom-info" triggers verification, for example.  I think that's a little bit better than dragging in gvn.


https://reviews.llvm.org/D26381





More information about the llvm-commits mailing list