[llvm] [WIP][SLP] Allow external uses to exist as both an extract and a rematerialization during the pass (PR #211680)

Ryan Buchner via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 23 23:08:54 PDT 2026


================

----------------
bababuck wrote:

I think just funky behavior with the threshold. I believe we vectorized store operands followed by extract for the store. Which is unprofitable but the `slp-threshold` allowed it. However, with the changes to the extract decision (will continue the conversation with your other comment), it's more profitable to rematerialize, hence the change here.

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


More information about the llvm-commits mailing list