]> granicus.if.org Git - llvm/commitdiff
Test commit. NFCI.
authorYevgeny Rouban <yevgeny.rouban@azul.com>
Thu, 31 Jan 2019 08:49:20 +0000 (08:49 +0000)
committerYevgeny Rouban <yevgeny.rouban@azul.com>
Thu, 31 Jan 2019 08:49:20 +0000 (08:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@352738 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/InlineCost.cpp

index 478c8af6c9536b1872f84e6f73a9851b8cb51462..48666566dd9cd80e8681b5faa2ee4ae1023a7e39 100644 (file)
@@ -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) {