[llvm] d8ddcae - [LSR] Fix typo in debug message where backspace escape was used instead of new line.

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 24 10:45:11 PST 2023


Author: Craig Topper
Date: 2023-12-24T10:35:27-08:00
New Revision: d8ddcae547e782a4765783c62747381624f076d4

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

LOG: [LSR] Fix typo in debug message where backspace escape was used instead of new line.

Added: 
    

Modified: 
    llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp b/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
index 39607464dd0090..a58bbe31856383 100644
--- a/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
+++ b/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
@@ -7006,7 +7006,7 @@ static bool ReduceLoopStrength(Loop *L, IVUsers &IU, ScalarEvolution &SE,
 
       LLVM_DEBUG(dbgs() << "Old term-cond:\n"
                         << *OldTermCond << "\n"
-                        << "New term-cond:\b" << *NewTermCond << "\n");
+                        << "New term-cond:\n" << *NewTermCond << "\n");
 
       BI->setCondition(NewTermCond);
 


        


More information about the llvm-commits mailing list