@@ -1204,59 +1204,69 @@ void TargetLibraryInfoImpl::addVectorizableFunctions(ArrayRef<VecDesc> Fns) {
1204
1204
static const VecDesc VecFuncs_Accelerate[] = {
1205
1205
#define TLI_DEFINE_ACCELERATE_VECFUNCS
1206
1206
#include " llvm/Analysis/VecFuncs.def"
1207
+ #undef TLI_DEFINE_ACCELERATE_VECFUNCS
1207
1208
};
1208
1209
1209
1210
static const VecDesc VecFuncs_DarwinLibSystemM[] = {
1210
1211
#define TLI_DEFINE_DARWIN_LIBSYSTEM_M_VECFUNCS
1211
1212
#include " llvm/Analysis/VecFuncs.def"
1213
+ #undef TLI_DEFINE_DARWIN_LIBSYSTEM_M_VECFUNCS
1212
1214
};
1213
1215
1214
1216
static const VecDesc VecFuncs_LIBMVEC_X86[] = {
1215
1217
#define TLI_DEFINE_LIBMVEC_X86_VECFUNCS
1216
1218
#include " llvm/Analysis/VecFuncs.def"
1219
+ #undef TLI_DEFINE_LIBMVEC_X86_VECFUNCS
1217
1220
};
1218
1221
1219
1222
static const VecDesc VecFuncs_MASSV[] = {
1220
1223
#define TLI_DEFINE_MASSV_VECFUNCS
1221
1224
#include " llvm/Analysis/VecFuncs.def"
1225
+ #undef TLI_DEFINE_MASSV_VECFUNCS
1222
1226
};
1223
1227
1224
1228
static const VecDesc VecFuncs_SVML[] = {
1225
1229
#define TLI_DEFINE_SVML_VECFUNCS
1226
1230
#include " llvm/Analysis/VecFuncs.def"
1231
+ #undef TLI_DEFINE_SVML_VECFUNCS
1227
1232
};
1228
1233
1229
1234
static const VecDesc VecFuncs_SLEEFGNUABI_VF2[] = {
1230
1235
#define TLI_DEFINE_SLEEFGNUABI_VF2_VECFUNCS
1231
1236
#define TLI_DEFINE_VECFUNC (SCAL, VEC, VF, VABI_PREFIX ) \
1232
1237
{SCAL, VEC, VF, /* MASK = */ false , VABI_PREFIX},
1233
1238
#include " llvm/Analysis/VecFuncs.def"
1239
+ #undef TLI_DEFINE_SLEEFGNUABI_VF2_VECFUNCS
1234
1240
};
1235
1241
static const VecDesc VecFuncs_SLEEFGNUABI_VF4[] = {
1236
1242
#define TLI_DEFINE_SLEEFGNUABI_VF4_VECFUNCS
1237
1243
#define TLI_DEFINE_VECFUNC (SCAL, VEC, VF, VABI_PREFIX ) \
1238
1244
{SCAL, VEC, VF, /* MASK = */ false , VABI_PREFIX},
1239
1245
#include " llvm/Analysis/VecFuncs.def"
1246
+ #undef TLI_DEFINE_SLEEFGNUABI_VF4_VECFUNCS
1240
1247
};
1241
1248
static const VecDesc VecFuncs_SLEEFGNUABI_VFScalable[] = {
1242
1249
#define TLI_DEFINE_SLEEFGNUABI_SCALABLE_VECFUNCS
1243
1250
#define TLI_DEFINE_VECFUNC (SCAL, VEC, VF, MASK, VABI_PREFIX ) \
1244
1251
{SCAL, VEC, VF, MASK, VABI_PREFIX},
1245
1252
#include " llvm/Analysis/VecFuncs.def"
1253
+ #undef TLI_DEFINE_SLEEFGNUABI_SCALABLE_VECFUNCS
1246
1254
};
1247
1255
1248
1256
static const VecDesc VecFuncs_ArmPL[] = {
1249
1257
#define TLI_DEFINE_ARMPL_VECFUNCS
1250
1258
#define TLI_DEFINE_VECFUNC (SCAL, VEC, VF, MASK, VABI_PREFIX ) \
1251
1259
{SCAL, VEC, VF, MASK, VABI_PREFIX},
1252
1260
#include " llvm/Analysis/VecFuncs.def"
1261
+ #undef TLI_DEFINE_ARMPL_VECFUNCS
1253
1262
};
1254
1263
1255
1264
const VecDesc VecFuncs_AMDLIBM[] = {
1256
1265
#define TLI_DEFINE_AMDLIBM_VECFUNCS
1257
1266
#define TLI_DEFINE_VECFUNC (SCAL, VEC, VF, MASK, VABI_PREFIX ) \
1258
1267
{SCAL, VEC, VF, MASK, VABI_PREFIX},
1259
1268
#include " llvm/Analysis/VecFuncs.def"
1269
+ #undef TLI_DEFINE_AMDLIBM_VECFUNCS
1260
1270
};
1261
1271
1262
1272
void TargetLibraryInfoImpl::addVectorizableFunctionsFromVecLib (
0 commit comments