[llvm] [Xtensa] Implement Windowed Register Option. (PR #124656)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 29 18:47:23 PST 2025


================
@@ -73,17 +73,23 @@ static DecodeStatus DecodeARRegisterClass(MCInst &Inst, uint64_t RegNo,
   return MCDisassembler::Success;
 }
 
-static const unsigned SRDecoderTable[] = {Xtensa::SAR, 3};
+static const unsigned SRDecoderTable[] = {
----------------
MaskRay wrote:

can omit `static` since const at a namespace scope by default has the internal linkage

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


More information about the llvm-commits mailing list