[llvm] [AMDGPU][MC] Disassembler warning for v_cmpx instructions (PR #127925)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 19 18:58:26 PST 2025


================
@@ -801,8 +803,16 @@ DecodeStatus AMDGPUDisassembler::getInstruction(MCInst &MI, uint64_t &Size,
   if (ImmLitIdx != -1 && !IsSOPK)
     convertFMAanyK(MI, ImmLitIdx);
 
+  if (isGFX10Plus() &&
----------------
arsenm wrote:

As always, I despise generation checks. Can you comment this, or put it in some kind of named predicate function 

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


More information about the llvm-commits mailing list