mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 04:38:24 +00:00
Revert "[LoopAccesses] Allow analysis to complete in the presence of uniform stores"
This reverts commit r234361. It caused PR23157. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234387 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -4009,14 +4009,6 @@ bool LoopVectorizationLegality::canVectorizeMemory() {
|
||||
if (!LAI->canVectorizeMemory())
|
||||
return false;
|
||||
|
||||
if (LAI->hasStoreToLoopInvariantAddress()) {
|
||||
emitAnalysis(
|
||||
VectorizationReport()
|
||||
<< "write to a loop invariant address could not be vectorized");
|
||||
DEBUG(dbgs() << "LV: We don't allow storing to uniform addresses\n");
|
||||
return false;
|
||||
}
|
||||
|
||||
if (LAI->getNumRuntimePointerChecks() >
|
||||
VectorizerParams::RuntimeMemoryCheckThreshold) {
|
||||
emitAnalysis(VectorizationReport()
|
||||
|
Reference in New Issue
Block a user