We cannot trivially generalize linalg.map, as it does not use the
output as a region argument in the block, while linalg.generic expects
many region arguments as the input/output operands.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
I would re-evaluate https://reviews.llvm.org/D134444 as it may create inconsistency between linalg.generic and named ops. I agree with the direction, but it is not just an ergonomics change. We could think of making linalg.generic consistent with this behaviour by dropping unused bb args or making linalg.named ops compatible with generics. Moving from named to generic (and vice-versa) is an essential trait of linalg and should be maintained, worth having an offline discussion.