[PATCH] D58260: [INLINER] allow inlining of blockaddresses if sole uses are callbrs
Bill Wendling via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 25 18:20:24 PDT 2019
void added inline comments.
================
Comment at: llvm/lib/Analysis/InlineCost.cpp:2087
+ // Disallow inlining of blockaddresses whose sole users are not callbr's.
if (BI->hasAddressTaken())
----------------
nit: "Disallow inlining of blockaddresses which are used by non-callbr instructions."
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D58260/new/
https://reviews.llvm.org/D58260
More information about the llvm-commits
mailing list