[llvm] [AMDGPU][Disassembler][NFCI] Always defer immediate operands. (PR #138885)

Joe Nash via llvm-commits llvm-commits at lists.llvm.org
Wed May 7 08:30:16 PDT 2025


================
@@ -711,6 +691,76 @@ DecodeStatus AMDGPUDisassembler::getInstruction(MCInst &MI, uint64_t &Size,
 
   DecodeStatus Status = MCDisassembler::Success;
 
+  // Handle immediates.
----------------
Sisyph wrote:

nit: Perhaps outline this as a function? It looks like only MI needs to be passed.

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


More information about the llvm-commits mailing list