[Mlir-commits] [mlir] [mlir][SCF] Remove `scf-bufferize` pass (PR #113840)

Javed Absar llvmlistbot at llvm.org
Sun Oct 27 16:36:53 PDT 2024


https://github.com/javedabsar1 requested changes to this pull request.

Since one-shot replaces scf-bufferize would it be better instead of deleting test/Dialect/SCF/bufferize.mlir to  change RUN to --one-shot-bufferize. That way, a test which might catch errors doesnt get deleted.
Having said that, I actually tried it but got this error.  Not sure why - but 100% sure you will know why:

```
../build/bin/mlir-opt  --one-shot-bufferize test/Dialect/SCF/bufferize.mlir
test/Dialect/SCF/bufferize.mlir:76:5: error: Yield operand #0 is not equivalent to the corresponding iter bbArg
    scf.yield %0 : tensor<f32>
```    

https://github.com/llvm/llvm-project/pull/113840


More information about the Mlir-commits mailing list