[Mlir-commits] [mlir] [mlir] [arith] Combine op for select (PR #234818)
Chuanqi Xu
llvmlistbot at llvm.org
Fri Oct 23 04:13:09 PDT 2026
================
@@ -3128,6 +3130,119 @@ struct SelectToExtUI : public OpRewritePattern<arith::SelectOp> {
}
};
+/// select(c, F(a0, a1), F(b0, b1))
+/// -> F(select(c, a0, b0), select(c, a1, b1)).
+/// For a non-poison condition, each lane of F receives exactly the operands of
+/// the selected producer, so poison in the other producer remains masked. For
+/// a poison condition, the original result is poison; the replacement may
----------------
ChuanqiXu9 wrote:
Sorry, this is a versioning issue. This was removed in my local.
https://github.com/llvm/llvm-project/pull/234818
More information about the Mlir-commits
mailing list