[llvm] r253335 - [ARM] Default to ARMv4t in favour of adding Other to ARMArch
Bradley Smith via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 17 05:38:30 PST 2015
Author: brasmi01
Date: Tue Nov 17 07:38:29 2015
New Revision: 253335
URL: http://llvm.org/viewvc/llvm-project?rev=253335&view=rev
Log:
[ARM] Default to ARMv4t in favour of adding Other to ARMArch
Modified:
llvm/trunk/lib/Target/ARM/ARMSubtarget.cpp
llvm/trunk/lib/Target/ARM/ARMSubtarget.h
Modified: llvm/trunk/lib/Target/ARM/ARMSubtarget.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMSubtarget.cpp?rev=253335&r1=253334&r2=253335&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMSubtarget.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMSubtarget.cpp Tue Nov 17 07:38:29 2015
@@ -88,7 +88,7 @@ ARMSubtarget::ARMSubtarget(const Triple
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
Modified: llvm/trunk/lib/Target/ARM/ARMSubtarget.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMSubtarget.h?rev=253335&r1=253334&r2=253335&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMSubtarget.h (original)
+++ llvm/trunk/lib/Target/ARM/ARMSubtarget.h Tue Nov 17 07:38:29 2015
@@ -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
};
More information about the llvm-commits
mailing list