[PATCH] D147424: [MC][AMDGPU] Warn when disassembling a v_cmpx with non-exec destination

Anshil Gandhi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 2 22:20:36 PDT 2023


gandhi21299 created this revision.
gandhi21299 added reviewers: foad, Joe_Nash, dp.
Herald added subscribers: kosarev, StephenFan, kerbowa, hiraditya, tpr, dstuttard, yaxunl, jvesely, kzhuravl, arsenm.
Herald added a project: All.
gandhi21299 requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

Emit a warning the destination of a v_cmpx instruction is not
EXEC, except when the source is an immediate zero operand.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D147424

Files:
  llvm/lib/MC/MCDisassembler/Disassembler.cpp
  llvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp
  llvm/lib/Target/AMDGPU/MCTargetDesc/SIMCCodeEmitter.cpp
  llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
  llvm/test/MC/Disassembler/AMDGPU/gfx10-vop3cx-errs.txt
  llvm/test/MC/Disassembler/AMDGPU/gfx10_vop3cx.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147424.510400.patch
Type: text/x-patch
Size: 6056 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230403/6a1fb79f/attachment.bin>


More information about the llvm-commits mailing list