[llvm] [Analysis] Add Scalable field in MemoryLocation.h (PR #65759)

via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 14 02:24:51 PDT 2023


================
@@ -176,8 +176,9 @@ static bool HasAddressTaken(const Instruction *AI, TypeSize AllocSize,
     const auto *I = cast<Instruction>(U);
     // If this instruction accesses memory make sure it doesn't access beyond
     // the bounds of the allocated object.
+    // TODO: TypeSize::getFixed should be modified to adapt to scalable vectors
----------------
harviniriawan wrote:

yes agreed

https://github.com/llvm/llvm-project/pull/65759


More information about the llvm-commits mailing list