[llvm] r353469 - [LV] Remove unnecessary assignment to UserIC.

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 7 13:23:37 PST 2019


Author: fhahn
Date: Thu Feb  7 13:23:37 2019
New Revision: 353469

URL: http://llvm.org/viewvc/llvm-project?rev=353469&view=rev
Log:
[LV] Remove unnecessary assignment to UserIC.

Modified:
    llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp

Modified: llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp?rev=353469&r1=353468&r2=353469&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp (original)
+++ llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp Thu Feb  7 13:23:37 2019
@@ -7357,7 +7357,6 @@ bool LoopVectorizePass::processLoop(Loop
         "InterleavingAvoided",
         "Ignoring UserIC, because interleaving was avoided up front");
     InterleaveLoop = false;
-    UserIC = 1;
   } else if (IC == 1 && UserIC <= 1) {
     // Tell the user interleaving is not beneficial.
     LLVM_DEBUG(dbgs() << "LV: Interleaving is not beneficial.\n");




More information about the llvm-commits mailing list