mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-28 06:32:09 +00:00
Move debug message in vectorizer
No functional change, just better reporting. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194388 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1b2034d969
commit
4921d5b0a9
@ -965,15 +965,12 @@ struct LoopVectorize : public LoopPass {
|
||||
unsigned UF = CM.selectUnrollFactor(OptForSize, Hints.Unroll, VF.Width,
|
||||
VF.Cost);
|
||||
|
||||
if (VF.Width == 1) {
|
||||
DEBUG(dbgs() << "LV: Vectorization is possible but not beneficial.\n");
|
||||
}
|
||||
|
||||
DEBUG(dbgs() << "LV: Found a vectorizable loop ("<< VF.Width << ") in "<<
|
||||
F->getParent()->getModuleIdentifier() << '\n');
|
||||
DEBUG(dbgs() << "LV: Unroll Factor is " << UF << '\n');
|
||||
|
||||
if (VF.Width == 1) {
|
||||
DEBUG(dbgs() << "LV: Vectorization is possible but not beneficial.\n");
|
||||
if (UF == 1)
|
||||
return false;
|
||||
// We decided not to vectorize, but we may want to unroll.
|
||||
|
Loading…
x
Reference in New Issue
Block a user