mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-12 01:25:49 +00:00
ARM: cover all sub-architecture enumerators to keep compiler happy.
No change in behaviour (hopefully). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217233 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -90,6 +90,8 @@ std::string ARM_MC::ParseARMTriple(StringRef TT, StringRef CPU) {
|
||||
bool NoCPU = CPU == "generic" || CPU.empty();
|
||||
std::string ARMArchFeature;
|
||||
switch (triple.getSubArch()) {
|
||||
default:
|
||||
llvm_unreachable("invalid sub-architecture for ARM");
|
||||
case Triple::ARMSubArch_v8:
|
||||
if (NoCPU)
|
||||
// v8a: FeatureDB, FeatureFPARMv8, FeatureNEON, FeatureDSPThumb2,
|
||||
|
Reference in New Issue
Block a user