[llvm] [MemoryLocation] Size Scalable Masked MemOps (PR #154785)
Matthew Devereau via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 27 02:54:25 PDT 2025
================
@@ -150,6 +150,29 @@ MemoryLocation::getForDest(const CallBase *CB, const TargetLibraryInfo &TLI) {
return MemoryLocation::getBeforeOrAfter(UsedV, CB->getAAMetadata());
}
+static std::optional<FixedVectorType *>
+getFixedTypeFromScalableMemOp(Value *Mask, Type *Ty) {
+ auto ActiveLaneMask = dyn_cast<IntrinsicInst>(Mask);
----------------
MDevereau wrote:
I've added matching logic, it's simple to remove if it does hamper compile time.
https://github.com/llvm/llvm-project/pull/154785
More information about the llvm-commits
mailing list