[llvm] [RFC] Extend MemoryEffects to Support Target-Specific Memory Locations (PR #148650)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 11 09:00:34 PDT 2025
================
@@ -3102,6 +3102,21 @@ Record::getValueAsListOfDefs(StringRef FieldName) const {
return Defs;
}
+llvm::IRMemLocation Record::getLocationTypeAsInt(StringRef FieldName) const {
----------------
CarolineConcatto wrote:
Hello @jurahul
Do you mind expanding what you would like to see?
Because this function is called by CodeGenIntrinsic::setProperty(const Record *R) in CodeGenIntrinsics.cpp, in there , AFAIK I cannot check the target architecture. So I would like some pointer to know how I should add this in the backend of the target specific architecture.
https://github.com/llvm/llvm-project/pull/148650
More information about the llvm-commits
mailing list