@@ -345,7 +345,7 @@ defset list<VTypeInfo> AllVectors = {
345
345
}
346
346
}
347
347
348
- defset list<VTypeInfo> AllFloatAndBFloatVectors = {
348
+ defset list<VTypeInfo> AllFloatAndBF16Vectors = {
349
349
defset list<VTypeInfo> AllFloatVectors = {
350
350
defset list<VTypeInfo> NoGroupFloatVectors = {
351
351
defset list<VTypeInfo> FractionalGroupFloatVectors = {
@@ -382,16 +382,16 @@ defset list<VTypeInfo> AllVectors = {
382
382
}
383
383
}
384
384
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 = {
388
388
def VBF16MF4: VTypeInfo<vbfloat16mf4_t, vbool64_t, 16, V_MF4, bf16, FPR16>;
389
389
def VBF16MF2: VTypeInfo<vbfloat16mf2_t, vbool32_t, 16, V_MF2, bf16, FPR16>;
390
390
}
391
391
def VBF16M1: VTypeInfo<vbfloat16m1_t, vbool16_t, 16, V_M1, bf16, FPR16>;
392
392
}
393
393
394
- defset list<GroupVTypeInfo> GroupBFloatVectors = {
394
+ defset list<GroupVTypeInfo> GroupBF16Vectors = {
395
395
def VBF16M2: GroupVTypeInfo<vbfloat16m2_t, vbfloat16m1_t, vbool8_t, 16,
396
396
V_M2, bf16, FPR16>;
397
397
def VBF16M4: GroupVTypeInfo<vbfloat16m4_t, vbfloat16m1_t, vbool4_t, 16,
@@ -542,7 +542,7 @@ defset list<VTypeInfoToWide> AllWidenableIntToFloatVectors = {
542
542
def : VTypeInfoToWide<VI32M4, VF64M8>;
543
543
}
544
544
545
- defset list<VTypeInfoToWide> AllWidenableBFloatToFloatVectors = {
545
+ defset list<VTypeInfoToWide> AllWidenableBF16ToFloatVectors = {
546
546
def : VTypeInfoToWide<VBF16MF4, VF32MF2>;
547
547
def : VTypeInfoToWide<VBF16MF2, VF32M1>;
548
548
def : VTypeInfoToWide<VBF16M1, VF32M2>;
@@ -5870,7 +5870,7 @@ multiclass VPatConversionWF_VF<string intrinsic, string instruction,
5870
5870
5871
5871
multiclass VPatConversionWF_VF_BF<string intrinsic, string instruction,
5872
5872
bit isSEWAware = 0> {
5873
- foreach fvtiToFWti = AllWidenableBFloatToFloatVectors in
5873
+ foreach fvtiToFWti = AllWidenableBF16ToFloatVectors in
5874
5874
{
5875
5875
defvar fvti = fvtiToFWti.Vti;
5876
5876
defvar fwti = fvtiToFWti.Wti;
@@ -5977,7 +5977,7 @@ multiclass VPatConversionVF_WF_RTZ<string intrinsic, string instruction,
5977
5977
5978
5978
multiclass VPatConversionVF_WF_BF_RM<string intrinsic, string instruction,
5979
5979
bit isSEWAware = 0> {
5980
- foreach fvtiToFWti = AllWidenableBFloatToFloatVectors in {
5980
+ foreach fvtiToFWti = AllWidenableBF16ToFloatVectors in {
5981
5981
defvar fvti = fvtiToFWti.Vti;
5982
5982
defvar fwti = fvtiToFWti.Wti;
5983
5983
let Predicates = !listconcat(GetVTypePredicates<fvti>.Predicates,
@@ -7154,7 +7154,7 @@ defm : VPatConversionVI_VF<"int_riscv_vfclass", "PseudoVFCLASS">;
7154
7154
// We can use vmerge.vvm to support vector-vector vfmerge.
7155
7155
// NOTE: Clang previously used int_riscv_vfmerge for vector-vector, but now uses
7156
7156
// int_riscv_vmerge. Support both for compatibility.
7157
- foreach vti = AllFloatAndBFloatVectors in {
7157
+ foreach vti = AllFloatAndBF16Vectors in {
7158
7158
let Predicates = GetVTypeMinimalPredicates<vti>.Predicates in
7159
7159
defm : VPatBinaryCarryInTAIL<"int_riscv_vmerge", "PseudoVMERGE", "VVM",
7160
7160
vti.Vector,
0 commit comments