summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2019-02-07 21:23:37 +0000
committerFlorian Hahn <flo@fhahn.com>2019-02-07 21:23:37 +0000
commitf557a94aa32cd707a07019f3b35fb6a37f5da7b7 (patch)
tree0c9dd2ebe54ddf60334a4b31dac36bf883912e9b
parent238ce2128cb44b03ffa2ae2adab90b16b81bc84e (diff)
downloadbcm5719-llvm-f557a94aa32cd707a07019f3b35fb6a37f5da7b7.tar.gz
bcm5719-llvm-f557a94aa32cd707a07019f3b35fb6a37f5da7b7.zip
[LV] Remove unnecessary assignment to UserIC.
llvm-svn: 353469
-rw-r--r--llvm/lib/Transforms/Vectorize/LoopVectorize.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
index 93287954d9d..2eb5e474ddc 100644
--- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
@@ -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");
OpenPOWER on IntegriCloud