Added 128 byte alignment to alloc ops created in VectorToSCF pass.
128b alignment was already introduced to this pass but not to all alloc
ops. This commit changes that by adding 128b alignment to the remaining ops.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
can you say a bit more on the underlying motivation in the description (e.g. performance improvement)?
Also, do we want to allocate all data this way, what about an 1x1 or 2x2 array allocation? Should size play a role in the heuristics?
mlir/lib/Conversion/VectorToSCF/VectorToSCF.cpp | ||
---|---|---|
581 | let's move all occurrences of 128 (including the one at function entry) to a symbolic constant somewhere |
let's move all occurrences of 128 (including the one at function entry) to a symbolic constant somewhere