[llvm-branch-commits] [llvm] 60e749a - [InlineCost] Fix indentation (NFC)

Kazu Hirata via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Nov 26 18:05:52 PST 2020


Author: Kazu Hirata
Date: 2020-11-26T18:00:55-08:00
New Revision: 60e749aa2348e43e6f66a7f4c44a58006a534837

URL: https://github.com/llvm/llvm-project/commit/60e749aa2348e43e6f66a7f4c44a58006a534837
DIFF: https://github.com/llvm/llvm-project/commit/60e749aa2348e43e6f66a7f4c44a58006a534837.diff

LOG: [InlineCost] Fix indentation (NFC)

Added: 
    

Modified: 
    llvm/lib/Analysis/InlineCost.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Analysis/InlineCost.cpp b/llvm/lib/Analysis/InlineCost.cpp
index 80be0040e7b3..f6a1f2dc3879 100644
--- a/llvm/lib/Analysis/InlineCost.cpp
+++ b/llvm/lib/Analysis/InlineCost.cpp
@@ -2578,7 +2578,7 @@ InlineCostAnnotationPrinterPass::run(Function &F,
   // We can add a flag which determines InlineParams for this run. Right now,
   // the default InlineParams are used.
   const InlineParams Params = llvm::getInlineParams();
-    for (BasicBlock &BB : F) {
+  for (BasicBlock &BB : F) {
     for (Instruction &I : BB) {
       if (CallInst *CI = dyn_cast<CallInst>(&I)) {
         Function *CalledFunction = CI->getCalledFunction();


        


More information about the llvm-branch-commits mailing list