mirror of
https://github.com/intel/llvm.git
synced 2026-02-04 20:00:11 +08:00
This patch adds handling of an empty `MaskOp` to `MaskOpRewritePattern` and thereby fixes a crash. It also pulls the `MaskOp` canonicalization patterns into `LowerVectorMask` so that empty `MaskOp`s are folded away in the Pass. Fix https://github.com/llvm/llvm-project/issues/71036