Index: llvm/lib/TargetParser/Host.cpp =================================================================== --- llvm/lib/TargetParser/Host.cpp +++ llvm/lib/TargetParser/Host.cpp @@ -1415,6 +1415,7 @@ #define CPUFAMILY_ARM_VORTEX_TEMPEST 0x07d34b9f #define CPUFAMILY_ARM_LIGHTNING_THUNDER 0x462504d2 #define CPUFAMILY_ARM_FIRESTORM_ICESTORM 0x1b588bb3 +#define CPUFAMILY_ARM_BLIZZARD_AVALANCHE 0xda33d83d StringRef sys::getHostCPUName() { uint32_t Family; @@ -1440,9 +1441,11 @@ return "apple-a13"; case CPUFAMILY_ARM_FIRESTORM_ICESTORM: return "apple-m1"; + case CPUFAMILY_ARM_BLIZZARD_AVALANCHE: + return "apple-m2"; default: // Default to the newest CPU we know about. - return "apple-m1"; + return "apple-m2"; } } #elif defined(_AIX)