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

Rahul Joshi via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 24 06:15:40 PDT 2025


================
@@ -3102,6 +3102,21 @@ Record::getValueAsListOfDefs(StringRef FieldName) const {
   return Defs;
 }
 
+llvm::IRMemLocation Record::getLocationTypeAsInt(StringRef FieldName) const {
----------------
jurahul wrote:

This function does not belong here. It should be moved instead to the specific backend that uses it (intrinsic emitter I am assuming)

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


More information about the llvm-commits mailing list