diff options
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp b/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp index 42aa8a2b431..077854a80af 100644 --- a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp +++ b/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp @@ -115,7 +115,7 @@ private: /// Maps instructions to numbers and back. SmallDenseMap<Instruction *, int> InstrIdx; /// Maps integers to Instructions. - std::vector<Instruction *> InstrVec; + SmallVector<Instruction *, 32> InstrVec; }; /// \returns the parent basic block if all of the instructions in \p VL @@ -391,7 +391,7 @@ private: SetVector<Instruction *> GatherSeq; /// Numbers instructions in different blocks. - std::map<BasicBlock *, BlockNumbering> BlocksNumbers; + DenseMap<BasicBlock *, BlockNumbering> BlocksNumbers; // Analysis and block reference. Function *F; |