AmrDeveloper wrote: @bcardosolopes, I think we can finish this PR, and I will continue searching for a test case for folding without blocking upstreaming other Vector Ops. Also, I think the same idea can be applied to Arrays, what do you think? https://github.com/llvm/llvm-project/pull/138413