This patch adds an overload for the map_to_vector helper template, exposing a parameter to control the size of the resulting SmallVector. A few call sites in mlir are updated to illustrate and test the change.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Herald added subscribers: llvm-commits, stephenneuendorffer, nicolasvasilache. · View Herald Transcript
This revision is now accepted and ready to land.May 15 2023, 12:33 PM
Closed by commit rGf3ece29b4658: [ADT] Allow specifying the size of resulting `SmallVector` in `map_to_vector` (authored by Laszlo Kindrat <laszlo@modular.com>). · Explain WhyMay 25 2023, 8:35 AM
This revision was automatically updated to reflect the committed changes.