[llvm] Extend MemoryEffects to Support Target-Specific Memory Locations (PR #148650)

via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 15 10:18:59 PDT 2025


================
@@ -49,6 +49,22 @@ def IntrArgMemOnly : IntrinsicProperty;
 // accessible by the module being compiled. This is a weaker form of IntrNoMem.
 def IntrInaccessibleMemOnly : IntrinsicProperty;
 
+
+
+class IntrinsicMemoryLocation;
+// These are used to represent Generic Memory Location. 
----------------
CarolineConcatto wrote:

Do you mean add
def InacessibleMem : IntrinsicMemoryLocation;
def TargetMem0 : IntrinsicMemoryLocation;
def TargetMem1 : IntrinsicMemoryLocation;
like this?

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


More information about the llvm-commits mailing list