]> granicus.if.org Git - llvm/commitdiff
[LV] Remove unnecessary assignment to UserIC.
authorFlorian Hahn <flo@fhahn.com>
Thu, 7 Feb 2019 21:23:37 +0000 (21:23 +0000)
committerFlorian Hahn <flo@fhahn.com>
Thu, 7 Feb 2019 21:23:37 +0000 (21:23 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@353469 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Vectorize/LoopVectorize.cpp

index 93287954d9d9951094fa432abb89d987cfe5d3a8..2eb5e474ddc6676c18eac0da03226622dd16e68c 100644 (file)
@@ -7357,7 +7357,6 @@ bool LoopVectorizePass::processLoop(Loop *L) {
         "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");