[PATCH] D48307: [Inliner] Try to inline if some blocks in the callee have address taken, but not used in a meaningful.
David Li via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 13 11:43:44 PDT 2018
davidxl added inline comments.
================
Comment at: include/llvm/IR/BasicBlock.h:390
+ /// Return true if the basic block address is taken and used in a meaningful
+ /// way, i.e. non-dead way.
+ bool hasAddressTakenAndUsed();
----------------
Perhaps change this to: Return true if the basic block address is taken and used by other instructions that can not be proved to be dead.
Repository:
rL LLVM
https://reviews.llvm.org/D48307
More information about the llvm-commits
mailing list