aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2023-05-16 09:43:38 -0700
committerCraig Topper <craig.topper@sifive.com>2023-05-16 09:43:38 -0700
commit8f43c3f49ecea404458a2fbde126e20c6d404a14 (patch)
treee76fb37def812af74fd23628273d74cd05d6ae94 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
parent2f4c96097a3cbf9d07eab699efd25f767bb4fdd5 (diff)
downloadllvm-8f43c3f49ecea404458a2fbde126e20c6d404a14.zip
llvm-8f43c3f49ecea404458a2fbde126e20c6d404a14.tar.gz
llvm-8f43c3f49ecea404458a2fbde126e20c6d404a14.tar.bz2
[RISCV] Rework how implied SP operands work in the disassembler. NFC
Previously we added the SP operands when an immediate operand was added to certain opcodes. This patch moves it to a post processing step using the information in MCInstrDesc. This avoids an explicit opcode list in RISCVDisassembler.cpp. In considered using a custom DecoderMethod, but the bit swizzling we need to do for the immediates on these instructions made that unattractive. Reviewed By: asb Differential Revision: https://reviews.llvm.org/D149931
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions