[llvm] [MemoryLocation] Size Scalable Masked MemOps (PR #154785)
Matthew Devereau via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 26 02:28:53 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 avoided this because I was worried about compile time. This module doesn't include any match headers, plus it's quite low level and small sized. I haven't tested this though so it might not be a big deal.
https://github.com/llvm/llvm-project/pull/154785
More information about the llvm-commits
mailing list