[PATCH] D57089: Provide reason messages for unviable inlining
Dávid Bolvanský via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 25 06:54:44 PST 2019
xbolva00 added inline comments.
================
Comment at: lib/Analysis/InlineCost.cpp:2028
return llvm::InlineCost::getAlways("always inline attribute");
- return llvm::InlineCost::getNever("inapplicable always inline attribute");
+ return llvm::InlineCost::getNever(IsViable);
}
----------------
getNever should take a string
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D57089/new/
https://reviews.llvm.org/D57089
More information about the llvm-commits
mailing list