diff options
author | Nate Begeman <natebegeman@mac.com> | 2005-10-18 00:56:42 +0000 |
---|---|---|
committer | Nate Begeman <natebegeman@mac.com> | 2005-10-18 00:56:42 +0000 |
commit | 9d2b817fcbad2ee615be323c38f1ed66d81964dc (patch) | |
tree | a62fd226ac5e5fcc2d50fd22d89ad4c77abe48a2 /lib/Target/PowerPC/PPCSubtarget.h | |
parent | 1d9d7427c4a4e3c7bdcfd1f725447f355e509c20 (diff) |
Do the right thing and enable 64 bit regs under the control of a subtarget
option. Currently the only way to enable this is to specify the
64bitregs mattr flag. It is never enabled by default on any config yet.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23779 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCSubtarget.h')
-rw-r--r-- | lib/Target/PowerPC/PPCSubtarget.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/PowerPC/PPCSubtarget.h b/lib/Target/PowerPC/PPCSubtarget.h index 03fcba0bed..9d0edf54ff 100644 --- a/lib/Target/PowerPC/PPCSubtarget.h +++ b/lib/Target/PowerPC/PPCSubtarget.h @@ -30,6 +30,7 @@ protected: /// Used by the ISel to turn in optimizations for POWER4-derived architectures bool IsGigaProcessor; bool Is64Bit; + bool Has64BitRegs; bool HasFSQRT; bool IsAIX; bool IsDarwin; @@ -49,6 +50,7 @@ public: bool isAIX() const { return IsAIX; } bool isDarwin() const { return IsDarwin; } bool is64Bit() const { return Is64Bit; } + bool has64BitRegs() const { return Has64BitRegs; } bool isGigaProcessor() const { return IsGigaProcessor; } }; } // End llvm namespace |