diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2022-02-05 18:04:23 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2022-02-05 18:05:05 +0000 |
| commit | ecbca9f5fb7d7613d2b94982c4825eb0d33d6842 (patch) | |
| tree | 3a4038f3b7bafaeade9fd6146ea8021237616657 /llvm/lib/CodeGen/InterleavedLoadCombinePass.cpp | |
| parent | 6f8fc217eaa12bf657be1c6468ed9938d10168b3 (diff) | |
Diffstat (limited to 'llvm/lib/CodeGen/InterleavedLoadCombinePass.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/InterleavedLoadCombinePass.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/llvm/lib/CodeGen/InterleavedLoadCombinePass.cpp b/llvm/lib/CodeGen/InterleavedLoadCombinePass.cpp index 2ee9379cb286..230c6846dde2 100644 --- a/llvm/lib/CodeGen/InterleavedLoadCombinePass.cpp +++ b/llvm/lib/CodeGen/InterleavedLoadCombinePass.cpp @@ -656,10 +656,10 @@ public: }; /// Basic-block the load instructions are within - BasicBlock *BB; + BasicBlock *BB = nullptr; /// Pointer value of all participation load instructions - Value *PV; + Value *PV = nullptr; /// Participating load instructions std::set<LoadInst *> LIs; @@ -668,7 +668,7 @@ public: std::set<Instruction *> Is; /// Final shuffle-vector instruction - ShuffleVectorInst *SVI; + ShuffleVectorInst *SVI = nullptr; /// Information of the offset for each vector element ElementInfo *EI; @@ -676,8 +676,7 @@ public: /// Vector Type FixedVectorType *const VTy; - VectorInfo(FixedVectorType *VTy) - : BB(nullptr), PV(nullptr), SVI(nullptr), VTy(VTy) { + VectorInfo(FixedVectorType *VTy) : VTy(VTy) { EI = new ElementInfo[VTy->getNumElements()]; } |
