llvm.org GIT mirror llvm / ed50152
Revert rL352238. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@352241 91177308-0d34-0410-b5e6-96231b3b80d8 Alina Sbirlea 1 year, 4 months ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
5050 Optional InterleaveCount =
5151 getOptionalIntLoopAttribute(L, "llvm.loop.interleave.count");
5252
53 if (VectorizeWidth.getValueOr(1) != 1)
53 if (VectorizeWidth.getValueOr(0) != 1)
5454 ORE->emit(
5555 DiagnosticInfoOptimizationFailure(DEBUG_TYPE,
5656 "FailedRequestedVectorization",
5858 << "loop not vectorized: the optimizer was unable to perform the "
5959 "requested transformation; the transformation might be disabled "
6060 "or specified as part of an unsupported transformation ordering");
61 else if (InterleaveCount.getValueOr(1) != 1)
61 else if (InterleaveCount.getValueOr(0) != 1)
6262 ORE->emit(
6363 DiagnosticInfoOptimizationFailure(DEBUG_TYPE,
6464 "FailedRequestedInterleaving",