[llvm] [AMDGPU] Update VOP instructions for GFX12 (PR #74853)
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 11 08:34:33 PST 2023
================
@@ -506,6 +512,19 @@ DecodeStatus AMDGPUDisassembler::getInstruction(MCInst &MI, uint64_t &Size,
}
break;
}
+ Res = tryDecodeInst(DecoderTableDPPGFX1296, DecoderTableDPPGFX12_FAKE1696,
+ MI, DecW, Address, CS);
+ if (Res) {
+ if (MCII->get(MI.getOpcode()).TSFlags & SIInstrFlags::VOP3P)
----------------
jayfoad wrote:
Nit: add braces around the "if" and "else if" clauses, because the "else" clause has them.
https://github.com/llvm/llvm-project/pull/74853
More information about the llvm-commits
mailing list