[llvm] [llvm-exegesis] Begin replacing unsigned with MCRegister. NFC (PR #123109)
Aiden Grossman via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 15 21:57:28 PST 2025
================
@@ -81,7 +81,7 @@ static bool generateSnippetSetupCode(const ExegesisTarget &ET,
// If we're generating memory instructions, don't load in the value for
// the register with the stack pointer as it will be used later to finish
// the setup.
- if (RV.Register == StackPointerRegister)
+ if (Register(RV.Register) == StackPointerRegister)
----------------
boomanaiden154 wrote:
I think the underlying type should probably be updated in `RegisterValue.h` rather than casting here?
https://github.com/llvm/llvm-project/pull/123109
More information about the llvm-commits
mailing list