diff options
author | Bill Wendling <isanbard@gmail.com> | 2013-02-16 01:36:26 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2013-02-16 01:36:26 +0000 |
commit | 901d80065c9afa0ba33e8546c2e1e99a00aceb14 (patch) | |
tree | 8bd7d0f8c5682eca8d318d78626b5018cc2f2acb /lib/Target/ARM/ARMSubtarget.h | |
parent | b56606274d43c7a3e01b18a08d1115fbf2889996 (diff) | |
download | external_llvm-901d80065c9afa0ba33e8546c2e1e99a00aceb14.zip external_llvm-901d80065c9afa0ba33e8546c2e1e99a00aceb14.tar.gz external_llvm-901d80065c9afa0ba33e8546c2e1e99a00aceb14.tar.bz2 |
Reinitialize the ivars in the subtarget so that they can be reset with the new features.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175336 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 87834b8..f47555c 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; } |