New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Buffer deallocation pass: non-deterministic output #59118
Comments
@llvm/issue-subscribers-mlir-core |
@llvm/issue-subscribers-mlir |
@EugeneZelenko why is the |
@bondhugula: I think it's good idea to not use generic labels when specific one exist. Same logic apply to |
The specific label here didn't exist - I just created it, and no one actually knows about it (it's quite narrow as well). I'd keep |
@llvm/issue-subscribers-mlir |
CC: @dfki-mako @d0k |
https://reviews.llvm.org/D143622 fixes this. |
The buffer-deallocation pass generates a different output on each run due to an unstable iteration order. Fixes: llvm/llvm-project#59118 Reviewed By: mehdi_amini Differential Revision: https://reviews.llvm.org/D143622
Each run of the
buffer-deallocation
produces different IR (a different ordering ofbufferization.clone
operations). A simple test case is below. A previous commit from Feb 2022 mentions this issue, but this never got fixed.$ mlir-opt -buffer-deallocation test_case.mlir
The text was updated successfully, but these errors were encountered: