[llvm] [Xtensa] Implement Windowed Register Option. (PR #121118)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 6 00:31:26 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) {
----------------
arsenm wrote:
Same as above, also this is the same function? Also should start with lowercase, and not pass MCSubtargetInfo by value
https://github.com/llvm/llvm-project/pull/121118
More information about the llvm-commits
mailing list