[Mlir-commits] [mlir] [mlir] Attempt to resolve edge cases in PassPipeline textual format (PR #118877)

Jeremy Kun llvmlistbot at llvm.org
Sat Dec 21 20:24:55 PST 2024


j2kun wrote:

@joker-eph that method still seems to fail. It seems that to define an empty string I have to actually use the `list={}` syntax, which is strange (it's even strange that `list={}` allows this given the option is not typed as a list).

See for example https://github.com/google/heir/commit/ccba176a7f2b29f226f9e032ec56fd86ba8fee64#diff-6f8c01b4d228f97d2a800c5b5deca07240dd1203a0063e775b6a9f8e49cc9b9c the file tests/Dialect/Polynomial/Transforms/elementwise_to_affine.mlir which corresponds to the option defined here: https://github.com/google/heir/blob/276bc7c53ad9b074ad3b8dde2756b1980e4c2707/lib/Transforms/ElementwiseToAffine/ElementwiseToAffine.td#L31

I am on vacation for a few weeks so I may not have time to repro this upstream.

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


More information about the Mlir-commits mailing list