[llvm-branch-commits] [llvm] [LV] isScalarWithPredication to check for interleaved accesses (PR #194579)
Gaƫtan Bossu via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue May 5 02:25:31 PDT 2026
================
@@ -650,15 +650,10 @@ class VFSelectionContext {
/// of FP operations.
bool useOrderedReductions(const RecurrenceDescriptor &RdxDesc) const;
- /// Returns true if the target machine supports masked store operation
- /// for the given \p DataType and kind of access to \p Ptr.
- bool isLegalMaskedStore(Type *DataType, Value *Ptr, Align Alignment,
- unsigned AddressSpace) const;
-
- /// Returns true if the target machine supports masked load operation
- /// for the given \p DataType and kind of access to \p Ptr.
- bool isLegalMaskedLoad(Type *DataType, Value *Ptr, Align Alignment,
- unsigned AddressSpace) const;
+ /// Returns true if the target machine supports masked load or store
+ /// operations for the given \p VF and \p InterleaveFactor.
+ bool isLegalMaskedLoadOrStore(Instruction *I, ElementCount VF,
----------------
gbossu wrote:
Done in https://github.com/llvm/llvm-project/pull/195242 and https://github.com/llvm/llvm-project/pull/195243.
https://github.com/llvm/llvm-project/pull/194579
More information about the llvm-branch-commits
mailing list