[llvm] [Xtensa] Implement Windowed Register Option. (PR #121118)
Andrei Safronov via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 20 16:21:25 PST 2025
================
@@ -73,17 +73,42 @@ static DecodeStatus DecodeARRegisterClass(MCInst &Inst, uint64_t RegNo,
return MCDisassembler::Success;
}
-static const unsigned SRDecoderTable[] = {Xtensa::SAR, 3};
+// Verify SR
+bool CheckRegister(unsigned RegNo, MCSubtargetInfo STI) {
----------------
andreisfr wrote:
@arsenm , I placed "checkRegister" function to the "XtensaUtils.cpp" in new commit. Could you please take a look?
https://github.com/llvm/llvm-project/pull/121118
More information about the llvm-commits
mailing list