summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMSubtarget.h
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-02-15 23:18:01 +0000
committerBill Wendling <isanbard@gmail.com>2013-02-15 23:18:01 +0000
commita060d0efd8e50b618f9904591e6a17d22f218d08 (patch)
treeb426ab278862c2d7455902b06f94ccfdbacb5dcb /llvm/lib/Target/ARM/ARMSubtarget.h
parent5ae72088300ffff7c08c7c43884ad29d6f441b04 (diff)
downloadbcm5719-llvm-a060d0efd8e50b618f9904591e6a17d22f218d08.tar.gz
bcm5719-llvm-a060d0efd8e50b618f9904591e6a17d22f218d08.zip
Reinitialize the ivars in the subtarget.
When we're recalculating the feature set of the subtarget, we need to have the ivars in their initial state. llvm-svn: 175320
Diffstat (limited to 'llvm/lib/Target/ARM/ARMSubtarget.h')
-rw-r--r--llvm/lib/Target/ARM/ARMSubtarget.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMSubtarget.h b/llvm/lib/Target/ARM/ARMSubtarget.h
index 87834b8b66f..f47555c0350 100644
--- a/llvm/lib/Target/ARM/ARMSubtarget.h
+++ b/llvm/lib/Target/ARM/ARMSubtarget.h
@@ -204,8 +204,10 @@ protected:
/// \brief Reset the features for the X86 target.
virtual void resetSubtargetFeatures(const MachineFunction *MF);
+private:
+ void initializeEnvironment();
void resetSubtargetFeatures(StringRef CPU, StringRef FS);
-
+public:
void computeIssueWidth();
bool hasV4TOps() const { return HasV4TOps; }
OpenPOWER on IntegriCloud