[ARM] Default to ARMv4t in favour of adding Other to ARMArch

llvm-svn: 253335
This commit is contained in:
Bradley Smith 2015-11-17 13:38:29 +00:00
parent b4613c6973
commit 982a8888b8
2 changed files with 2 additions and 2 deletions

View File

@ -88,7 +88,7 @@ ARMSubtarget::ARMSubtarget(const Triple &TT, const std::string &CPU,
const std::string &FS,
const ARMBaseTargetMachine &TM, bool IsLittle)
: ARMGenSubtargetInfo(TT, CPU, FS), ARMProcFamily(Others),
ARMProcClass(None), ARMArch(Other), stackAlignment(4), CPUString(CPU),
ARMProcClass(None), ARMArch(ARMv4t), stackAlignment(4), CPUString(CPU),
IsLittle(IsLittle), TargetTriple(TT), Options(TM.Options), TM(TM),
FrameLowering(initializeFrameLowering(CPU, FS)),
// At this point initializeSubtargetDependencies has been called so

View File

@ -50,7 +50,7 @@ protected:
None, AClass, RClass, MClass
};
enum ARMArchEnum {
Other, ARMv2, ARMv2a, ARMv3, ARMv3m, ARMv4, ARMv4t, ARMv5, ARMv5t, ARMv5te,
ARMv2, ARMv2a, ARMv3, ARMv3m, ARMv4, ARMv4t, ARMv5, ARMv5t, ARMv5te,
ARMv5tej, ARMv6, ARMv6k, ARMv6kz, ARMv6t2, ARMv6m, ARMv6sm, ARMv7a, ARMv7r,
ARMv7m, ARMv7em, ARMv8a, ARMv81a
};