diff options
Diffstat (limited to 'lib/Target/ARM/ARMSubtarget.cpp')
-rw-r--r-- | lib/Target/ARM/ARMSubtarget.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Target/ARM/ARMSubtarget.cpp b/lib/Target/ARM/ARMSubtarget.cpp index 2415a85051..7379f1c39d 100644 --- a/lib/Target/ARM/ARMSubtarget.cpp +++ b/lib/Target/ARM/ARMSubtarget.cpp @@ -23,14 +23,13 @@ ARMSubtarget::ARMSubtarget(const Module &M, const std::string &FS, bool thumb) , UseThumbBacktraces(false) , IsR9Reserved(false) , stackAlignment(4) + , CPUString("generic") , TargetType(isELF) // Default to ELF unless otherwise specified. , TargetABI(ARM_ABI_APCS) { - // Determine default and user specified characteristics - std::string CPU = "generic"; // Parse features string. - ParseSubtargetFeatures(FS, CPU); + CPUString = ParseSubtargetFeatures(FS, CPUString); // Set the boolean corresponding to the current target triple, or the default // if one cannot be determined, to true. |