[all-commits] [llvm/llvm-project] bc91ac: [AMDGPU][MC] Disassembler warning for v_cmpx instr...

Jun Wang via All-commits all-commits at lists.llvm.org
Thu Feb 27 09:17:40 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bc91accbfe1644912f70645b51b1fade4bd61249
      https://github.com/llvm/llvm-project/commit/bc91accbfe1644912f70645b51b1fade4bd61249
  Author: Jun Wang <jwang86 at yahoo.com>
  Date:   2025-02-27 (Thu, 27 Feb 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp
    A llvm/test/MC/Disassembler/AMDGPU/gfx10_vop3cx_warn.txt
    A llvm/test/MC/Disassembler/AMDGPU/gfx11_vop3cx_warn.txt
    A llvm/test/MC/Disassembler/AMDGPU/gfx12_vop3cx_warn.txt

  Log Message:
  -----------
  [AMDGPU][MC] Disassembler warning for v_cmpx instructions (#127925)

For GFX10+ the destination reg of v_cmpx instructions is implicitly EXEC,
which is encoded as 0x7E. However, the disassembler does not check this
field, thus allowing any value. With this patch, if the field is not
EXEC a warning is issued.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list