Issue 113907
Summary mlir bufferization: wrong document information: https://mlir.llvm.org/docs/Bufferization/#overview
Labels mlir
Assignees
Reporter enjustli
    
![image](https://github.com/user-attachments/assets/18312e90-06d4-46e6-bf89-dec3bf872348)

the calling order of passes in the picture [https://mlir.llvm.org/includes/img/bufferization_passes.svg 
]is incorrect, which affects the final ir.  
refer to this [https://github.com/llvm/llvm-project/blob/main/mlir/test/Dialect/Bufferization/Transforms/one-shot-module-bufferize-out-params.mlir#L1], the pass `drop-equivalent-buffer-results` should be called before the pass `buffer-results-to-out-params`
<img width="1099" alt="image" src=""



_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to