[llvm] [LLVM]Add read and write inaccessible memory metadata (PR #154141)
Rahul Joshi via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 18 15:49:41 PDT 2025
================
@@ -3102,6 +3102,21 @@ Record::getValueAsListOfDefs(StringRef FieldName) const {
return Defs;
}
+llvm::IRMemLocation Record::getLocationTypeAsInt(StringRef FieldName) const {
----------------
jurahul wrote:
Repeating my earlier comment from the previous review:
Can you move the code you added in Record.cpp to CodeGenIntrinsic.cpp and make it a helper function in that file? Make `getLocationTypeAsInt` as static helper function iin that file.
https://github.com/llvm/llvm-project/pull/154141
More information about the llvm-commits
mailing list