[llvm] [AMDGPU][MC] Disallow op_sel in v_dot4 and v_dot8 with 4- or 8-bit packed data (PR #100485)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 16 11:35:09 PDT 2024
arsenm wrote:
> > I believe this is only true for gfx940, and I think the older targets did support op_sel with these. I see a note that not supporting op_sel is a change, but don't see documentation for what it did before
>
> @arsenm Is one of the following the note you referred to above?
No, I'm reading the ISA documentation, not the implementation
>
> Even these two places are inconsistent. One says "do not use on gfx940+", another seems to apply only to gfx940 and gfx11.
This looks like it wasn't cleanly implemented to track which targets support it and which don't. I wouldn't trust whatever is implemented here, this requires double checking the hardware docs
>
> Second, are you suggesting op_sel should be disallowed for gfx940+, but left alone for older targets?
It should be left alone on any target where it's supported. We shouldn't just drop it everywhere
https://github.com/llvm/llvm-project/pull/100485
More information about the llvm-commits
mailing list