[llvm] r333675 - [JumpThreading] Fix some strange formatting of code inside LLVM_DEBUG. NFC

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Thu May 31 11:08:11 PDT 2018


Author: ctopper
Date: Thu May 31 11:08:11 2018
New Revision: 333675

URL: http://llvm.org/viewvc/llvm-project?rev=333675&view=rev
Log:
[JumpThreading] Fix some strange formatting of code inside LLVM_DEBUG. NFC

I don't know if clang-format got confused here or what.

Modified:
    llvm/trunk/lib/Transforms/Scalar/JumpThreading.cpp

Modified: llvm/trunk/lib/Transforms/Scalar/JumpThreading.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/JumpThreading.cpp?rev=333675&r1=333674&r2=333675&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/JumpThreading.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/JumpThreading.cpp Thu May 31 11:08:11 2018
@@ -1576,11 +1576,11 @@ bool JumpThreadingPass::ProcessThreadabl
   assert(!PredValues.empty() &&
          "ComputeValueKnownInPredecessors returned true with no values");
 
-  LLVM_DEBUG(dbgs() << "IN BB: " << *BB; for (const auto &PredValue
-                                              : PredValues) {
-    dbgs() << "  BB '" << BB->getName()
-           << "': FOUND condition = " << *PredValue.first << " for pred '"
-           << PredValue.second->getName() << "'.\n";
+  LLVM_DEBUG(dbgs() << "IN BB: " << *BB;
+             for (const auto &PredValue : PredValues) {
+               dbgs() << "  BB '" << BB->getName()
+                      << "': FOUND condition = " << *PredValue.first
+                      << " for pred '" << PredValue.second->getName() << "'.\n";
   });
 
   // Decide what we want to thread through.  Convert our list of known values to




More information about the llvm-commits mailing list