Details
- Reviewers
frgossen
Diff Detail
Event Timeline
Nice! I think this is going in the direction that fixes our deallocation issue.
mlir/lib/Dialect/Bufferization/IR/BufferizationOps.cpp | ||
---|---|---|
453–455 | You are essentially addressing this comment. I think this might also be the best place to walk up the chain of aliases as the deallocs are found below. | |
471 | Did you do this? "conform to the LLVM Coding Standards. You can use the clang-format-diff.py or git-clang-format tools to automatically format your patch properly." (see https://llvm.org/docs/Contributing.html#how-to-submit-a-patch) | |
472 | This will give you the preceding op, not the definition of the operand. You are probably looking for something like cloneOp.getInput().getDefiningoperation(). | |
mlir/test/Dialect/Bufferization/canonicalize.mlir | ||
260 | You want to add a // CHECK-LABEL: @Atanh_platform_elem_type_output_type here. | |
271 | Please add a // CHECK return {{.*}} here to make clear beween which ops you want to check the absence of clone and dealloc. |
This diff looks a bit odd, like it is not relative to the original code. You might want to read these.
mlir/test/Dialect/Bufferization/canonicalize.mlir | ||
---|---|---|
273 | Missing : |
Did you do this?
"conform to the LLVM Coding Standards. You can use the clang-format-diff.py or git-clang-format tools to automatically format your patch properly." (see https://llvm.org/docs/Contributing.html#how-to-submit-a-patch)