[clang] [llvm] [RFC][AMDGPU] Use `bf16` instead of `i16` for bfloat (PR #80908)
Stanislav Mekhanoshin via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 8 10:22:07 PST 2024
================
@@ -521,8 +521,11 @@ void AMDGPUInstPrinter::printImmediateV216(uint32_t Imm, uint8_t OpType,
if (printImmediateFloat32(Imm, STI, O))
return;
break;
+ case AMDGPU::OPERAND_REG_IMM_V2BF16:
case AMDGPU::OPERAND_REG_IMM_V2FP16:
+ case AMDGPU::OPERAND_REG_INLINE_C_V2BF16:
case AMDGPU::OPERAND_REG_INLINE_C_V2FP16:
+ case AMDGPU::OPERAND_REG_INLINE_AC_V2BF16:
----------------
rampitec wrote:
It does not seem right, and there are no tests for v2bf16 added. I am not sure though we have instructions which can accept this type of operand.
https://github.com/llvm/llvm-project/pull/80908
More information about the cfe-commits
mailing list