[mlir][vector] Add fold to transfer_{read,write} vector<1xT> (#196598)

vector.transfer_read and vector.transfer_write's permutations maps are
irrelevant with vector<1xT>. This pattern unblocks lowerings to
vector.load and vector.store.

Assisted-By: Claude Opus 4.6
GitOrigin-RevId: 8c493f558686d01223a6f4ac8d17ea4b16055557
2 files changed
tree: 68618d070d70331877059dba30576c6cc23b48ac
  1. benchmark/
  2. cmake/
  3. docs/
  4. examples/
  5. include/
  6. lib/
  7. python/
  8. test/
  9. tools/
  10. unittests/
  11. utils/
  12. .clang-format
  13. .clang-tidy
  14. CMakeLists.txt
  15. LICENSE.TXT
  16. Maintainers.md
  17. README.md
README.md

Multi-Level Intermediate Representation

See https://mlir.llvm.org/ for more information.