[PATCH] D11421: New interface to enable shrink wrapping
Nemanja Ivanovic
nemanja.i.ibm at gmail.com
Fri Jul 24 07:57:04 PDT 2015
nemanjai added inline comments.
================
Comment at: lib/CodeGen/ShrinkWrap.cpp:323
@@ -303,1 +322,3 @@
bool ShrinkWrap::runOnMachineFunction(MachineFunction &MF) {
+ if (PredicateFtor && !PredicateFtor(MF))
+ return false;
----------------
Does this mean that shrink wrapping will run on a passed function if the PredicateFtor is not callable? Although as currently set-up, this cannot happen.
http://reviews.llvm.org/D11421
More information about the llvm-commits
mailing list