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

Haicheng Wu via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 7 14:38:51 PDT 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL280865: [LoopUnroll] Correct a debug message. NFC. (authored by haicheng).

Changed prior to commit:
  https://reviews.llvm.org/D24299?vs=70552&id=70602#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D24299

Files:
  llvm/trunk/lib/Transforms/Scalar/LoopUnrollPass.cpp

Index: llvm/trunk/lib/Transforms/Scalar/LoopUnrollPass.cpp
===================================================================
--- llvm/trunk/lib/Transforms/Scalar/LoopUnrollPass.cpp
+++ llvm/trunk/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.70602.patch
Type: text/x-patch
Size: 518 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160907/ba44ac48/attachment.bin>


More information about the llvm-commits mailing list