[PATCH] D24299: [LoopUnroll] Fix a debug message. NFC.

Haicheng Wu via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 7 09:52:52 PDT 2016


haicheng created this revision.
haicheng added reviewers: mcrosier, mzolotukhin, mssimpso.
haicheng added a subscriber: llvm-commits.
haicheng set the repository for this revision to rL LLVM.
Herald added subscribers: mzolotukhin, mcrosier.

The code says "<=", but the debug message is "<".

Repository:
  rL LLVM

https://reviews.llvm.org/D24299

Files:
  lib/Transforms/Scalar/LoopUnrollPass.cpp

Index: lib/Transforms/Scalar/LoopUnrollPass.cpp
===================================================================
--- lib/Transforms/Scalar/LoopUnrollPass.cpp
+++ lib/Transforms/Scalar/LoopUnrollPass.cpp
@@ -649,7 +649,7 @@
 
   if (UnrolledCost <= Threshold) {
     DEBUG(dbgs() << "  Can fully unroll, because unrolled cost: "
-                 << UnrolledCost << "<" << Threshold << "\n");
+                 << UnrolledCost << "<=" << Threshold << "\n");
     return true;
   }
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24299.70552.patch
Type: text/x-patch
Size: 485 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160907/acd97189/attachment.bin>


More information about the llvm-commits mailing list