[compiler-rt] [clang-tools-extra] [lld] [lldb] [clang] [flang] [libc] [libcxx] [llvm] [AMDGPU][GFX12] VOP encoding and codegen - add support for v_cvt fp8/… (PR #78414)

Mirko Brkušanin via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 22 05:36:37 PST 2024


mbrkusanin wrote:

> > Correct, some of these instructions use opsel[1] which in LLVM in stored in src1_modifiers so a dummy src1 is used.
> 
> Why can't we just use `SRCMODS.OP_SEL_1` with src0?

That could work. We would have to make custom encoding classes then since OP_SEL_1 would have different meaning for these instructions.

https://github.com/llvm/llvm-project/pull/78414


More information about the cfe-commits mailing list