[llvm] [RFC] Extend MemoryEffects to Support Target-Specific Memory Locations (PR #148650)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 20 03:01:29 PDT 2025
CarolineConcatto wrote:
Hi @nikic ,
So your proposal will be to change this
enum class InaccessibleTargetMemLocation {
AARCH64_FPMR = 3,
AARCH64_ZA = 4,
};
To be something like
enum class InaccessibleTargetMemLocation {
TargetMemLoc1= 3,
TargetMemLoc2 = 4,
....
};
The printing of _**memory(target1: /*aarch64.fpmr*/ read)**_ is happening in the file Attributes.cpp and that is the part I may lack understanding of how to link this with the target architecture. I will need to add a Target hook in that part of the code, but atm there is not information about the target.
https://github.com/llvm/llvm-project/pull/148650
More information about the llvm-commits
mailing list