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

Ramkumar Ramachandra via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 7 03:36:55 PDT 2026


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

Yep, see https://github.com/llvm/llvm-project/pull/215862.

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


More information about the llvm-commits mailing list