@@ -345,7 +345,7 @@ defset list<VTypeInfo> AllVectors = {
345345 }
346346 }
347347
348- defset list<VTypeInfo> AllFloatAndBFloatVectors = {
348+ defset list<VTypeInfo> AllFloatAndBF16Vectors = {
349349 defset list<VTypeInfo> AllFloatVectors = {
350350 defset list<VTypeInfo> NoGroupFloatVectors = {
351351 defset list<VTypeInfo> FractionalGroupFloatVectors = {
@@ -382,16 +382,16 @@ defset list<VTypeInfo> AllVectors = {
382382 }
383383 }
384384
385- defset list<VTypeInfo> AllBFloatVectors = {
386- defset list<VTypeInfo> NoGroupBFloatVectors = {
387- defset list<VTypeInfo> FractionalGroupBFloatVectors = {
385+ defset list<VTypeInfo> AllBF16Vectors = {
386+ defset list<VTypeInfo> NoGroupBF16Vectors = {
387+ defset list<VTypeInfo> FractionalGroupBF16Vectors = {
388388 def VBF16MF4: VTypeInfo<vbfloat16mf4_t, vbool64_t, 16, V_MF4, bf16, FPR16>;
389389 def VBF16MF2: VTypeInfo<vbfloat16mf2_t, vbool32_t, 16, V_MF2, bf16, FPR16>;
390390 }
391391 def VBF16M1: VTypeInfo<vbfloat16m1_t, vbool16_t, 16, V_M1, bf16, FPR16>;
392392 }
393393
394- defset list<GroupVTypeInfo> GroupBFloatVectors = {
394+ defset list<GroupVTypeInfo> GroupBF16Vectors = {
395395 def VBF16M2: GroupVTypeInfo<vbfloat16m2_t, vbfloat16m1_t, vbool8_t, 16,
396396 V_M2, bf16, FPR16>;
397397 def VBF16M4: GroupVTypeInfo<vbfloat16m4_t, vbfloat16m1_t, vbool4_t, 16,
@@ -542,7 +542,7 @@ defset list<VTypeInfoToWide> AllWidenableIntToFloatVectors = {
542542 def : VTypeInfoToWide<VI32M4, VF64M8>;
543543}
544544
545- defset list<VTypeInfoToWide> AllWidenableBFloatToFloatVectors = {
545+ defset list<VTypeInfoToWide> AllWidenableBF16ToFloatVectors = {
546546 def : VTypeInfoToWide<VBF16MF4, VF32MF2>;
547547 def : VTypeInfoToWide<VBF16MF2, VF32M1>;
548548 def : VTypeInfoToWide<VBF16M1, VF32M2>;
@@ -5870,7 +5870,7 @@ multiclass VPatConversionWF_VF<string intrinsic, string instruction,
58705870
58715871multiclass VPatConversionWF_VF_BF<string intrinsic, string instruction,
58725872 bit isSEWAware = 0> {
5873- foreach fvtiToFWti = AllWidenableBFloatToFloatVectors in
5873+ foreach fvtiToFWti = AllWidenableBF16ToFloatVectors in
58745874 {
58755875 defvar fvti = fvtiToFWti.Vti;
58765876 defvar fwti = fvtiToFWti.Wti;
@@ -5977,7 +5977,7 @@ multiclass VPatConversionVF_WF_RTZ<string intrinsic, string instruction,
59775977
59785978multiclass VPatConversionVF_WF_BF_RM<string intrinsic, string instruction,
59795979 bit isSEWAware = 0> {
5980- foreach fvtiToFWti = AllWidenableBFloatToFloatVectors in {
5980+ foreach fvtiToFWti = AllWidenableBF16ToFloatVectors in {
59815981 defvar fvti = fvtiToFWti.Vti;
59825982 defvar fwti = fvtiToFWti.Wti;
59835983 let Predicates = !listconcat(GetVTypePredicates<fvti>.Predicates,
@@ -7154,7 +7154,7 @@ defm : VPatConversionVI_VF<"int_riscv_vfclass", "PseudoVFCLASS">;
71547154// We can use vmerge.vvm to support vector-vector vfmerge.
71557155// NOTE: Clang previously used int_riscv_vfmerge for vector-vector, but now uses
71567156// int_riscv_vmerge. Support both for compatibility.
7157- foreach vti = AllFloatAndBFloatVectors in {
7157+ foreach vti = AllFloatAndBF16Vectors in {
71587158 let Predicates = GetVTypeMinimalPredicates<vti>.Predicates in
71597159 defm : VPatBinaryCarryInTAIL<"int_riscv_vmerge", "PseudoVMERGE", "VVM",
71607160 vti.Vector,
0 commit comments