mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-17 00:06:33 +00:00

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.