[Mlir-commits] [mlir] [mlir][tosa] Enhance folder for Tosa binary operators (PR #128059)

Georgios Pinitas llvmlistbot at llvm.org
Fri Feb 28 05:13:02 PST 2025


GeorgeARM wrote:

I share Luke's concern here. This tensor folding could end being quite expensive and not explicitly controllable.
So options are to:

- have explicit shape operations where we do the folding
- add some size heuristics on the folders (this shall be relatively straight-forward if we mainly care about shape folding)
- pull the out to some kind of optimization pass
- other thoughts?

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


More information about the Mlir-commits mailing list