[Mlir-commits] [mlir] [MLIR][Transform][Tune] Introduce `transform.tune.alternatives` op (PR #160724)

Rolf Morel llvmlistbot at llvm.org
Fri Sep 26 08:04:03 PDT 2025


================

----------------
rolfmorel wrote:

The assembly format makes it optional whether there is a `selected_region = ??` parse. This function is to resolve the `??` part.

I believe I need to ask the parser to do an "optional" parse of the integer as it should be allowed to fail in case the user instead provides an SSA value (i.e. on non-optional parse, seeing the "%" would cause non-catchable failure.).

If there's a more elegant way of supporting both the int as the `??` and a param SSA-value as the `??`, do let me know!

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


More information about the Mlir-commits mailing list