[llvm] [LV] Add support for widening loads/stores to a UF x VF (PR #217670)
Benjamin Maxwell via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 2 02:00:08 PDT 2026
================
@@ -1001,20 +1001,25 @@ class TargetTransformInfo {
unsigned Opcode1,
const SmallBitVector &OpcodeMask) const;
- /// Returns the maximum VF multiple that can be used for a contiguous
- /// load/store for the given \p VF and \p UF.
- LLVM_ABI unsigned getMaximumVFMultipleForMemoryOp(ElementCount VF,
- unsigned UF) const;
-
- /// Return the preferred multiple of VF to use for a contiguous load/store.
- /// Returning 1 leaves the operation at VF. The returned value must divide UF.
- /// \p CastHint is non-null if the stored value is produced by a cast
- /// instruction or the loaded value is consumed by one.
+ enum MaskSource {
----------------
MacDue wrote:
I've kept the name MaskSource (but changed to an enum class and renamed the members).
https://github.com/llvm/llvm-project/pull/217670
More information about the llvm-commits
mailing list