[llvm] [VectorCombine] Scalarize multi-use casts feeding only extractelements (PR #201529)

Barbara Mitic via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 29 06:47:51 PDT 2026


barbara-amd wrote:

> Our policy on InstCombine folds that affect vector types has gotten stricter since the original fold was added to InstCombine. I'm not saying all existing fold need to be looked at again, but this seems a good candidate, especially as VectorCombine has a relatively simple cost driven approach for multi-use folds.

Thank you. I pushed a new change trying to move the original change for multi-use cases to VectorCombine

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


More information about the llvm-commits mailing list