Unverified Commit 6e7b45c5 authored by Jun Wang's avatar Jun Wang Committed by GitHub
Browse files

[AMDGPU][MC] Support tfe operand in image_atomic instructions (#92469)



Current, if an image_atomic instruction has the 'tfe' operand, the
llvm-mc assembler in general would reject it. The only exception is when
dmask is 0x1 and the instruction is not image_atomic_cmpswap (e.g.,
image_atomic_add v[5:6], v252, s[8:15] dmask:0x1 tfe). This patch fixes
this problem and allows tfe to be specified in image_atomic
instructions.

---------

Co-authored-by: default avatarJun Wang <jun.wang7@amd.com>
parent 11d7203c
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment