Use SmallVector instead of std::vector in getLocalRepr function.
Also, fix the casing of a variable.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Please add a [Presburger] tag as well to the title. Also, make the summary in imperative, and no need for the full stop in the title. (e.g. "[MLIR][Presburger] Use SmallVector instead of std::vector in getLocalRepr").
mlir/include/mlir/Analysis/Presburger/IntegerPolyhedron.h | ||
---|---|---|
289 | SmallVector isn't really optimized to store other SmallVectors AFAIK. std::vector was fine as is. |
mlir/include/mlir/Analysis/Presburger/IntegerPolyhedron.h | ||
---|---|---|
289 | I will be reverting this patch. Thanks. |
SmallVector isn't really optimized to store other SmallVectors AFAIK. std::vector was fine as is.