summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorLily Orth-Smith <lilyorthsmith@gmail.com>2025-05-02 12:54:26 -0700
committerGitHub <noreply@github.com>2025-05-02 12:54:26 -0700
commit3715de976e41654db83a0aef5be50790024639ea (patch)
tree53442867953413c01809855fad9ee17aa3e2eb7b /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent1101b767329dd163d528fa5f667a6c0dbdde0ad5 (diff)
[mlir] Add use-vector-alignment flag to ConvertVectorToLLVMPass (#137389)
In ConvertVectorToLLVM, the only option for setting alignment of `vector.gather`, `vector.scatter`, and the `vector.load/store` ops was to extract it from the datatype of the memref type. However, this is insufficient for hardware backends requiring alignment of vector types. This PR introduces the `use-vector-alignment` option to the `ConvertVectorToLLVMPass`, which makes the pass use the alignment of the vector type of these operations instead of the alignment of the memref type. --------- Co-authored-by: Lily Orth-Smith <lorthsmith@microsoft.com>
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions