[PATCH] D30333: Split SimplifyCFG to run obscuring switch transforms only during last phase
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 6 16:56:27 PST 2017
efriedma added a comment.
The inliner is interleaved with the passes from addFunctionSimplificationPasses: first we simplify a leaf function, then we inline that function into another function, then we simplify the caller, etc. If you want to see this in action, try looking at the output of `echo "int a(); int b() { return a(); } int c() { return b(); }" | clang -x c - -o - -S -O2 -mllvm -print-after-all |& less`.
https://reviews.llvm.org/D30333
More information about the llvm-commits
mailing list