diff options
author | Sergei Barannikov <barannikov88@gmail.com> | 2025-09-04 19:02:34 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-04 16:02:34 +0000 |
commit | 698f39bc195905a84fdb696dfaa1cde006f7238f (patch) | |
tree | c98662ce481fe6c77deaf630ce5adb374ac0abf3 /lldb/packages/Python/lldbsuite/test/lldbgdbclient.py | |
parent | b2ff3e780a0995d4ffdc96db948ef3cd7e9c2695 (diff) | |
download | llvm-698f39bc195905a84fdb696dfaa1cde006f7238f.zip llvm-698f39bc195905a84fdb696dfaa1cde006f7238f.tar.gz llvm-698f39bc195905a84fdb696dfaa1cde006f7238f.tar.bz2 |
[RISCV] Remove post-decoding instruction adjustments (#156360)
Some instructions implicitly define/use X2 (SP) register, but instead of
being present in the Defs/Uses lists, it is sometimes modeled as an
explicit operand with SP register class.
Since the operand is not encoded into the instruction, it cannot be
disassembled, and we have `RISCVDisassembler::addSPOperands()` that
addresses the issue by mutating the (incompletely) decoded instruction.
This change makes the operand decodable by adding `bits<0>` field for
that operand to relevant instruction encodings and removes
`RISCVDisassembler::addSPOperands()`.
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lldbgdbclient.py')
0 files changed, 0 insertions, 0 deletions