================
@@ -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
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits