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

Rahul Joshi via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 18 15:48:02 PDT 2025


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

Apologies for the terminology confusion, by backend I mean the tablegen backend. Essentially, can you move the code you added in Record.cpp to CodeGenIntrinsic.cpp and make it a helper function in that file?

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


More information about the llvm-commits mailing list