[AMDGPU][MC] Fix handling of A16 operands in intersect_ray instructions.
commit289ae6525dffd9eb9a23753acd407235e125c690
authorIvan Kosarev <ivan.kosarev@amd.com>
Thu, 13 Jul 2023 18:38:48 +0000 (13 19:38 +0100)
committerIvan Kosarev <ivan.kosarev@amd.com>
Thu, 13 Jul 2023 18:46:03 +0000 (13 19:46 +0100)
tree4cbd2b039cdb5a694405c99ef42cd581e436dc93
parent55e2772e9f518af7762ddb62da6bcaacecc1462b
[AMDGPU][MC] Fix handling of A16 operands in intersect_ray instructions.

The patch adds the support for 'noa16' operands in non-A16 variants of
the instructions, fixes validation of A16 operands and eliminates the
custom conversion to MCInst.

Part of <https://github.com/llvm/llvm-project/issues/62629>.

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D155057
llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
llvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp
llvm/lib/Target/AMDGPU/MIMGInstructions.td
llvm/lib/Target/AMDGPU/SIISelLowering.cpp
llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
llvm/test/CodeGen/AMDGPU/waitcnt-bvh.mir
llvm/test/MC/AMDGPU/gfx1030_err.s
llvm/test/MC/AMDGPU/gfx1030_new.s
llvm/test/MC/AMDGPU/gfx11_asm_mimg_err.s
llvm/test/MC/AMDGPU/gfx11_asm_mimg_features.s