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

Paul Walker via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 3 09:23:11 PDT 2025


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

I guess it doesn't matter but you don't need a `break` after an llvm_unreachable.

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


More information about the llvm-commits mailing list