mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-11 21:38:19 +00:00
Resurrect initializers for NumLoads and NumStores in LoopVectorizationLegality to suppress undefined behavior.
FIXME: Shall they be managed in LAA? git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227940 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -555,8 +555,9 @@ public:
|
|||||||
DominatorTree *DT, TargetLibraryInfo *TLI,
|
DominatorTree *DT, TargetLibraryInfo *TLI,
|
||||||
AliasAnalysis *AA, Function *F,
|
AliasAnalysis *AA, Function *F,
|
||||||
const TargetTransformInfo *TTI)
|
const TargetTransformInfo *TTI)
|
||||||
: NumPredStores(0), TheLoop(L), SE(SE), DL(DL), TLI(TLI), TheFunction(F),
|
: NumLoads(0), NumStores(0), NumPredStores(0), TheLoop(L), SE(SE), DL(DL),
|
||||||
TTI(TTI), Induction(nullptr), WidestIndTy(nullptr),
|
TLI(TLI), TheFunction(F), TTI(TTI), Induction(nullptr),
|
||||||
|
WidestIndTy(nullptr),
|
||||||
LAA(F, L, SE, DL, TLI, AA, DT,
|
LAA(F, L, SE, DL, TLI, AA, DT,
|
||||||
LoopAccessAnalysis::VectorizerParams(
|
LoopAccessAnalysis::VectorizerParams(
|
||||||
MaxVectorWidth, VectorizationFactor, VectorizationInterleave,
|
MaxVectorWidth, VectorizationFactor, VectorizationInterleave,
|
||||||
|
Reference in New Issue
Block a user