[llvm] [BOLT] Simplify RAState helpers (NFCI) (PR #162820)

Alexandros Lamprineas via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 10 05:59:47 PST 2025


================
@@ -186,26 +186,21 @@ bool MCPlusBuilder::hasRestoreState(const MCInst &Inst) const {
   return hasAnnotation(Inst, MCAnnotation::kRestoreState);
 }
 
-void MCPlusBuilder::setRASigned(MCInst &Inst) const {
+void MCPlusBuilder::setRAState(MCInst &Inst, bool State) const {
----------------
labrinea wrote:

What are the possible states of the new argument? Is it either signed or unsigned? Can we find a better name for it?

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


More information about the llvm-commits mailing list