[Mlir-commits] [mlir] [Vector] Add canonicalization for select(pred, true, false) -> broadcast(pred) (PR #147934)

Andrzej WarzyƄski llvmlistbot at llvm.org
Thu Jul 10 09:08:30 PDT 2025


================
@@ -2913,13 +2913,74 @@ struct BroadcastFolder : public OpRewritePattern<BroadcastOp> {
     return success();
   }
 };
+
+/// true: vector
+/// false: vector
----------------
banach-space wrote:

```suggestion
/// true: vector of i1
/// false: vector of i1
```

https://github.com/llvm/llvm-project/pull/147934


More information about the Mlir-commits mailing list