[Mlir-commits] [mlir] [mlir][vector] Support complete folding in single pass for vector.insert/vector.extract (PR #142124)

James Newling llvmlistbot at llvm.org
Thu Jun 5 10:58:07 PDT 2025


https://github.com/newling approved this pull request.

Very nice! LGTM.

I've confirmed that this does as expected by running

mlir-opt input.mlir 
mlir-opt input.mlir -test-constant-fold 
mlir-opt input.mlir -test-constant-fold -test-constant-fold

before and after. 

The 'constant' in the pass and test file name are indeed a bit confusing, but probably not worth the churn of changing at this point. 

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


More information about the Mlir-commits mailing list