[Mlir-commits] [mlir] [MLIR][DRR] Fix inconsistent operand and arg index usage (PR #139816)
Xiaomin Liu
llvmlistbot at llvm.org
Wed May 14 08:30:38 PDT 2025
================
@@ -1889,6 +1894,9 @@ def : Pat<(TestEitherOpA (either (TestEitherOpB I32:$arg1, $_),
$x),
(TestEitherOpB $arg2, $x)>;
+def : Pat<(TestEitherOpC ConstantAttr<I32Attr, "0">, (either $arg1, I32:$arg2)),
----------------
xl4624 wrote:
This test case fails to compile before the fixes in this PR
https://github.com/llvm/llvm-project/pull/139816
More information about the Mlir-commits
mailing list