Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Looks great, thanks Alex!
mlir/test/Dialect/Linalg/fusion_indexed_generic.mlir | ||
---|---|---|
60 | Can we add a // CHECK-NOT: addi above this line? |
mlir/lib/Dialect/Linalg/Transforms/Fusion.cpp | ||
---|---|---|
107 | You don't need region().getBlocks().front(), region().front() will work. |
A slight concern on this being ultimately used within the pattern rewriting infrastructure that does interact well with brutal editing of uses. There are other aspects in this code that make me think it shouldn't be called from that infrastructure anyway, so not blocking.
mlir/include/mlir/Transforms/LoopUtils.h | ||
---|---|---|
290 | Why is this added to LoopUtils.h? It has nothing to do with loops in particular. This could have been in Value.h. |
mlir/include/mlir/Transforms/LoopUtils.h | ||
---|---|---|
290 | It sounds like moving that across can be a separate NFC change |
mlir/include/mlir/Transforms/LoopUtils.h | ||
---|---|---|
290 | Yes, here it is https://reviews.llvm.org/D78426 |
Why is this added to LoopUtils.h? It has nothing to do with loops in particular. This could have been in Value.h.