We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98a90e9 commit 55af5acCopy full SHA for 55af5ac
llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
@@ -197,13 +197,12 @@ bool LoopVectorizeHints::allowVectorization(
197
<< "loop not vectorized: loop transformations are disabled");
198
} else {
199
// This should be unreachable unless there is a bug.
200
- LLVM_DEBUG(dbgs() << "LV: [BUG] Not vectorizing: loop vect disabled for "
201
- "an unknown reason!\n");
202
ORE.emit(OptimizationRemarkMissed(LV_NAME, "MissedUnknown",
203
TheLoop->getStartLoc(),
204
TheLoop->getHeader())
205
<< "loop not vectorized: unknown reason, please file a bug "
206
"report on the LLVM issue tracker");
+ llvm_unreachable("loop vect disabled for an unknown reason");
207
}
208
return false;
209
0 commit comments