[Mlir-commits] [mlir] [mlir-tblgen] Emit named operand indices (PR #146839)

Mehdi Amini llvmlistbot at llvm.org
Fri Jul 4 05:54:15 PDT 2025


joker-eph wrote:

> Given an mlir::OpOperand, find out whether it is a specific argument (from the arguments field in the .td file)

The method to do this is non-trivial because of variadics. It is possible to emit a method computing this from TableGen (the opposite of `getODSOperands()` ?), but I'm not sure how this patch solves the problem right now?




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


More information about the Mlir-commits mailing list