diff --git a/llvm/lib/Target/AMDGPU/VOP1Instructions.td b/llvm/lib/Target/AMDGPU/VOP1Instructions.td index 4a56fad0cd603..b875ddc62a7a0 100644 --- a/llvm/lib/Target/AMDGPU/VOP1Instructions.td +++ b/llvm/lib/Target/AMDGPU/VOP1Instructions.td @@ -153,20 +153,26 @@ multiclass VOP1Inst ; } -multiclass VOP1Inst_t16 { let OtherPredicates = [NotHasTrue16BitInsts, Has16BitInsts] in { defm NAME : VOP1Inst; } let OtherPredicates = [UseRealTrue16Insts] in { - defm _t16 : VOP1Inst, node>; + defm _t16 : VOP1Inst; } let OtherPredicates = [UseFakeTrue16Insts] in { - defm _fake16 : VOP1Inst, node>; + defm _fake16 : VOP1Inst; } } +multiclass VOP1Inst_t16 : + VOP1Inst_t16_with_profiles, VOPProfile_Fake16

, node>; + // Special profile for instructions which have clamp // and output modifiers (but have no input modifiers) class VOPProfileI2F :