[llvm] 51e53af - [SimplifyCFG] fix debug print formatting; NFC

Sanjay Patel via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 13 11:18:38 PDT 2020


Author: Sanjay Patel
Date: 2020-03-13T14:12:28-04:00
New Revision: 51e53af11c2a4524e0d957a173c32651bfb5c5cc

URL: https://github.com/llvm/llvm-project/commit/51e53af11c2a4524e0d957a173c32651bfb5c5cc
DIFF: https://github.com/llvm/llvm-project/commit/51e53af11c2a4524e0d957a173c32651bfb5c5cc.diff

LOG: [SimplifyCFG] fix debug print formatting; NFC

Added: 
    

Modified: 
    llvm/lib/Transforms/Utils/SimplifyCFG.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Transforms/Utils/SimplifyCFG.cpp b/llvm/lib/Transforms/Utils/SimplifyCFG.cpp
index 241218b97af1..c381d3618032 100644
--- a/llvm/lib/Transforms/Utils/SimplifyCFG.cpp
+++ b/llvm/lib/Transforms/Utils/SimplifyCFG.cpp
@@ -2532,8 +2532,8 @@ static bool SimplifyCondBranchToTwoReturns(BranchInst *BI,
   (void)RI;
 
   LLVM_DEBUG(dbgs() << "\nCHANGING BRANCH TO TWO RETURNS INTO SELECT:"
-                    << "\n  " << *BI << "NewRet = " << *RI << "TRUEBLOCK: "
-                    << *TrueSucc << "FALSEBLOCK: " << *FalseSucc);
+                    << "\n  " << *BI << "\nNewRet = " << *RI << "\nTRUEBLOCK: "
+                    << *TrueSucc << "\nFALSEBLOCK: " << *FalseSucc);
 
   EraseTerminatorAndDCECond(BI);
 


        


More information about the llvm-commits mailing list