[llvm] [LV] Factor costInterleaveGatherScatter (NFC) (PR #215857)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 7 03:52:49 PDT 2026


================
@@ -2400,6 +2456,13 @@ bool LoopVectorizationCostModel::isLegalMaskedLoadOrStore(
                                          getLoadStoreAddressSpace(I));
 }
 
+bool LoopVectorizationCostModel::isLegalGatherOrScatter(Instruction *I,
----------------
fhahn wrote:

Hmm, AFAICT the follow-up patch decision logic is completely driven by the legacy cost model decision?

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


More information about the llvm-commits mailing list