Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
| mlir/lib/Dialect/SCF/IR/SCF.cpp | ||
|---|---|---|
| 756 | Or should we use ()[s0]->(s0) for id map? | |
LGTM overall, I let Nicolas/Thomas comment more.
Also, perhaps add a CHECK test?
(since my example is not submitted yet)
| mlir/lib/Dialect/SCF/IR/SCF.cpp | ||
|---|---|---|
| 11 | Does this new dep require some bazel changes? | |
| 756 | I let Thomas comment on that. | |
| 765 | maybe put this whole block in a computeDiff() method that returns optional difference? | |
updating bazel file
| mlir/lib/Dialect/SCF/IR/SCF.cpp | ||
|---|---|---|
| 11 | Yeah, you are right. Added the bazel changes | |
| mlir/lib/Dialect/SCF/IR/SCF.cpp | ||
|---|---|---|
| 765 | Yeah, love the new format! Thanks! | |
| mlir/test/Dialect/SCF/canonicalize.mlir | ||
|---|---|---|
| 734 | not that c2 x c2 always folds into 4 I think the test would be a bit better if you use %7 = arith.mulf %arg2, %c2 : f32 and test for 2xarg0 in the folded consume | |
| utils/bazel/llvm-project-overlay/mlir/BUILD.bazel | ||
|---|---|---|
| 2681 | I believe you need the matching change in CMakeLists.txt | |
| utils/bazel/llvm-project-overlay/mlir/BUILD.bazel | ||
|---|---|---|
| 2681 | Good catch! | |
| mlir/test/Dialect/SCF/canonicalize.mlir | ||
|---|---|---|
| 737 | %init -> %arg2 so that we see %arg2 -> %arg1 change? | |
Adding a dependency from SCF on Affine sounds like a quite unfortunate layering inversion...
Does this new dep require some bazel changes?