[llvm-commits] [llvm] r78886 - /llvm/trunk/lib/Transforms/Scalar/LoopUnroll.cpp

Andreas Bolka a at bolka.at
Wed Aug 12 19:40:50 PDT 2009


Author: abolka
Date: Wed Aug 12 21:40:50 2009
New Revision: 78886

URL: http://llvm.org/viewvc/llvm-project?rev=78886&view=rev
Log:
Prune trailing whitespace.

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

Modified: llvm/trunk/lib/Transforms/Scalar/LoopUnroll.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/LoopUnroll.cpp?rev=78886&r1=78885&r2=78886&view=diff

==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/LoopUnroll.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/LoopUnroll.cpp Wed Aug 12 21:40:50 2009
@@ -126,12 +126,12 @@
   // Find trip count
   unsigned TripCount = L->getSmallConstantTripCount();
   unsigned Count = UnrollCount;
- 
+
   // Automatically select an unroll count.
   if (Count == 0) {
     // Conservative heuristic: if we know the trip count, see if we can
     // completely unroll (subject to the threshold, checked below); otherwise
-    // try to find greatest modulo of the trip count which is still under 
+    // try to find greatest modulo of the trip count which is still under
     // threshold value.
     if (TripCount != 0) {
       Count = TripCount;
@@ -150,10 +150,10 @@
            << " because size: " << Size << ">" << UnrollThreshold << "\n";
       if (UnrollAllowPartial) {
         // Reduce unroll count to be modulo of TripCount for partial unrolling
-        Count = UnrollThreshold / LoopSize;        
+        Count = UnrollThreshold / LoopSize;
         while (Count != 0 && TripCount%Count != 0) {
           Count--;
-        }        
+        }
         if (Count < 2) {
           DOUT << "  could not unroll partially\n";
           return false;





More information about the llvm-commits mailing list