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

Tai Ly llvmlistbot at llvm.org
Fri Feb 28 12:32:05 PST 2025


Tai78641 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?

added a cap at 128 elements in binaryFolder

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


More information about the Mlir-commits mailing list