commit | 36b27a818a1342fcbb94ad53091c63d968e50cec | [log] [tgz] |
---|---|---|
author | jiang1997 <jieke@live.cn> | Tue Sep 16 21:26:21 2025 +0800 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Sep 16 06:30:59 2025 -0700 |
tree | 88a7c69266a7e1e79bdb545f877b26c727adbef5 | |
parent | 764a0cde634db0064b4cbdf42e1f21f86d4aa033 [diff] |
[MLIR] Use IntValidAlignment for alignment attributes (#158137) This PR refactors alignment validation in MLIR's MemRef and SPIRV dialects: - Use `IntValidAlignment` for consistent type safety across MemRef and SPIRV dialects - Eliminate duplicate validation logic in `MemRefOps.cpp` - Adjust error messages in `invalid.mlir` to match improved validation This is the first of two PRs addressing issue #155677. GitOrigin-RevId: 33c33d0e0d143fb6197f191921d2b6e4470855da
See https://mlir.llvm.org/ for more information.