[all-commits] [llvm/llvm-project] f3fa54: [mlir][Vector] Handle 0-rank case in fold instead ...
Kunwar Grover via All-commits
all-commits at lists.llvm.org
Mon Mar 24 06:14:45 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f3fa54a191d47809c3385bc655d1d42e6732a212
https://github.com/llvm/llvm-project/commit/f3fa54a191d47809c3385bc655d1d42e6732a212
Author: Kunwar Grover <groverkss at gmail.com>
Date: 2025-03-24 (Mon, 24 Mar 2025)
Changed paths:
M mlir/lib/Dialect/Vector/IR/VectorOps.cpp
M mlir/test/Dialect/Vector/canonicalize.mlir
Log Message:
-----------
[mlir][Vector] Handle 0-rank case in fold instead of RewriterPattern (#130168)
For vector.extract, the folder always canonicalizes to a vector.extract
operation, while the rewrite pattern canonicalizes to a vector.broadcast
except in the case of 0-rank vectors.
Remove this special casing, and instead handle the 0-rank vector case in
the folder.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list