[Lldb-commits] [lldb] [llvm] [AArch64][llvm] Tighten SYSP parsing; don't disassemble invalid encodings (PR #182410)

via lldb-commits lldb-commits at lists.llvm.org
Thu Mar 12 05:09:16 PDT 2026


================
@@ -1551,6 +1549,12 @@ class AArch64Operand : public MCParsedAsmOperand {
     return Kind == k_Token && getToken() == Str;
   }
   bool isSysCR() const { return Kind == k_SysCR; }
+  template <unsigned low, unsigned high> bool isSysCRInRange() const {
+    if (!isSysCR())
----------------
Lukacma wrote:

isSysCR seems to be unused so the check can be inlined here and function removed

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


More information about the lldb-commits mailing list