[llvm] [RFC][Draft] Extend MemoryEffects to Support Target-Specific Memory L… (PR #148650)

via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 14 08:44:15 PDT 2025


================
@@ -656,6 +660,15 @@ std::string Attribute::getAsString(bool InAttrGrp) const {
         break;
       case IRMemLocation::Other:
         llvm_unreachable("This is represented as the default access kind");
+      default: {
+        InaccessibleTargetMemLocation TargetLoc =
----------------
CarolineConcatto wrote:

How can we make this to not be target specific? Any suggestion? 

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


More information about the llvm-commits mailing list