[llvm-branch-commits] [llvm] [BOLT] Gadget scanner: Detect address materialization and arithmetics (PR #132540)
Kristof Beyls via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Mar 31 06:28:49 PDT 2025
================
@@ -587,6 +587,22 @@ class MCPlusBuilder {
return getNoRegister();
}
+ virtual MCPhysReg getSafelyMaterializedAddressReg(const MCInst &Inst) const {
+ llvm_unreachable("not implemented");
+ return getNoRegister();
+ }
----------------
kbeyls wrote:
I think that "safely materialized address register" is not a common term and different people seeing it are likely to have somewhat different guesses at what it might mean.
Therefore, this method probably needs a comment that explains what a "safely materialized address register" is.
https://github.com/llvm/llvm-project/pull/132540
More information about the llvm-branch-commits
mailing list