mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-19 03:38:26 +00:00
Test commit. NFCI.
llvm-svn: 352738
This commit is contained in:
parent
2ef8508947
commit
6f15c9c083
@ -2077,7 +2077,8 @@ bool llvm::isInlineViable(Function &F) {
|
||||
for (Function::iterator BI = F.begin(), BE = F.end(); BI != BE; ++BI) {
|
||||
// Disallow inlining of functions which contain indirect branches or
|
||||
// blockaddresses.
|
||||
if (isa<IndirectBrInst>(BI->getTerminator()) || BI->hasAddressTaken())
|
||||
if (isa<IndirectBrInst>(BI->getTerminator()) ||
|
||||
BI->hasAddressTaken())
|
||||
return false;
|
||||
|
||||
for (auto &II : *BI) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user