[Mlir-commits] [mlir] [mlir][tosa] Make tosa-attach-target optional in addTosaToLinalgPasses (PR #193467)

Luke Hutton llvmlistbot at llvm.org
Fri Apr 24 02:13:43 PDT 2026


https://github.com/lhutton1 commented:

Thanks for the PR! I'm wondering if an alternative approach is the remove the "tosa.target_env" attribute at the end of the TosaToLinalg pipeline? This way we avoid introducing additional options to the pipeline. The target environment is only useful while there are TOSA operators in the IR, after that it becomes redundant. 

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


More information about the Mlir-commits mailing list