[Mlir-commits] [mlir] [MLIR][Linalg] Pattern to fold AddOp to accumulation via contraction op's dest (PR #110514)
Rolf Morel
llvmlistbot at llvm.org
Wed Oct 2 08:08:10 PDT 2024
rolfmorel wrote:
Thanks for the comments, @banach-space!
I have simplified the utility functions quite a bit. As I dropped the memref support and restricted the zero check to just what is needed for this pattern, I have put the (now one) zero check in the pattern's file.
If you could have another look at the now simpler code, that would be much appreciated.
As for where utility functions like this should exist, I am interested as well if the functionality already exists somewhere. I have not been able to find it so far (which ties into the question what the right location would be for such functions). 😢
https://github.com/llvm/llvm-project/pull/110514
More information about the Mlir-commits
mailing list