[AMDGPU] Fix operand class of v_ldexp_f16 src1
Patch eece6ba2 changed the src1 type of v_ldexp_f16 from i32 to i16. Though semantically src1 is an i16, the hardware reads this operand as an f16 type, which primarily enables floating point inline constants. Therefore this patch changes the operand type to f16. It maintains the current behavior where floating point source modifiers are not allowed on src1. SDWA sext modifier continues to be allowed. The test asm and disasm test changes in eece6ba2 are reverted, because the floating point inline constants are allowed. Reviewed By: arsenm Differential Revision: https://reviews.llvm.org/D153169
Loading
Please sign in to comment