[llvm] [AMDGPU] Fix real and fake true16 v_cvt_f32_bf16 disasm (PR #161578)
Brox Chen via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 1 13:24:24 PDT 2025
================
@@ -313,10 +313,11 @@ let OtherPredicates = [UseFakeTrue16Insts] in
let SubtargetPredicate = HasGFX950Insts, OtherPredicates = [HasBF16ConversionInsts] in {
defm V_CVT_F32_BF16 : VOP1Inst_t16 <"v_cvt_f32_bf16", VOP_F32_BF16>;
}
-let SubtargetPredicate = isGFX1250Plus, OtherPredicates = [HasBF16ConversionInsts] in {
- defm V_CVT_F32_BF16_gfx1250 : VOP1Inst_t16_with_profiles <"v_cvt_f32_bf16_gfx1250", VOP_F32_BF16,
- VOPProfile_CVT_F32_BF16_gfx1250_t16,
- VOPProfile_CVT_F32_BF16_gfx1250_fake16>;
+let SubtargetPredicate = isGFX1250Plus in {
+ let OtherPredicates = [UseRealTrue16Insts, HasBF16ConversionInsts] in
+ defm V_CVT_F32_BF16_gfx1250_t16 : VOP1Inst <"V_CVT_F32_BF16_gfx1250_t16", VOPProfile_CVT_F32_BF16_gfx1250_t16>;
+ let OtherPredicates = [UseFakeTrue16Insts, HasBF16ConversionInsts] in
----------------
broxigarchen wrote:
```suggestion
let True16Predicate = UseFakeTrue16Insts, OtherPredicates = [HasBF16ConversionInsts] in
```
https://github.com/llvm/llvm-project/pull/161578
More information about the llvm-commits
mailing list