Skip to content

Commit ae29857

Browse files
author
Yevgeny Rouban
committed
Test commit. NFCI.
llvm-svn: 352738
1 parent f222259 commit ae29857

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/lib/Analysis/InlineCost.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2077,7 +2077,8 @@ bool llvm::isInlineViable(Function &F) {
20772077
for (Function::iterator BI = F.begin(), BE = F.end(); BI != BE; ++BI) {
20782078
// Disallow inlining of functions which contain indirect branches or
20792079
// blockaddresses.
2080-
if (isa<IndirectBrInst>(BI->getTerminator()) || BI->hasAddressTaken())
2080+
if (isa<IndirectBrInst>(BI->getTerminator()) ||
2081+
BI->hasAddressTaken())
20812082
return false;
20822083

20832084
for (auto &II : *BI) {

0 commit comments

Comments
 (0)