diff options
author | Bill Wendling <isanbard@gmail.com> | 2013-02-15 23:18:01 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2013-02-15 23:18:01 +0000 |
commit | 9be8b4fc92e1ace819a78db512c1f945c1471be7 (patch) | |
tree | 90507303bf41bb899a4274fdd27b75521c1d62c3 /lib/Target/ARM/ARMSubtarget.h | |
parent | f78708593407286de34506e699da25a56b65a20d (diff) | |
download | llvm-9be8b4fc92e1ace819a78db512c1f945c1471be7.tar.gz llvm-9be8b4fc92e1ace819a78db512c1f945c1471be7.tar.bz2 llvm-9be8b4fc92e1ace819a78db512c1f945c1471be7.tar.xz |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175320 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMSubtarget.h')
-rw-r--r-- | lib/Target/ARM/ARMSubtarget.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMSubtarget.h b/lib/Target/ARM/ARMSubtarget.h index 87834b8b66..f47555c035 100644 --- a/lib/Target/ARM/ARMSubtarget.h +++ b/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; } |