Files
clang-p2996/llvm/test/MC/Disassembler/AMDGPU/comments.txt
Ivan Kosarev e23891a382 [AMDGPU][Disassembler] Fix a spurious error message in an instruction comment.
The patch prevents pollution of instruction comments with error messages
generated during unsuccessful decoding attempts.

Reviewed By: foad

Differential Revision: https://reviews.llvm.org/D149049
2023-04-26 12:50:17 +01:00

9 lines
465 B
Plaintext

# RUN: llvm-mc -assemble -triple=amdgcn--amdhsa -mcpu=gfx1100 -filetype=obj %s -o - | \
# RUN: llvm-objdump -d - | FileCheck %s
; Make sure disassembling of this instruction does not cause any errors
; generated in the comment. For this test to do its job, the instruction
; has to be the last or the only one in the object file.
; CHECK: v_perm_b32 v14, v52, v51, 0x5040100 // 000000000000: D644000E 03FE6734 05040100{{$}}
v_perm_b32 v14, v52, v51, 0x5040100