diff options
author | Nate Begeman <natebegeman@mac.com> | 2005-09-06 15:30:12 +0000 |
---|---|---|
committer | Nate Begeman <natebegeman@mac.com> | 2005-09-06 15:30:12 +0000 |
commit | d401dff7966ca3ac644cddcda4f1e6d30074923e (patch) | |
tree | 29e72a558d6546c0c06d79ba81f4f09901783be0 /lib/Target/PowerPC/PPCSubtarget.h | |
parent | 83e75ecd2725aed3ace0bd52945f2b5266696d00 (diff) |
Add accessor for 64bit flag, so that we can tell when it is safe to
generate the fun in-register fp<->long instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23244 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCSubtarget.h')
-rw-r--r-- | lib/Target/PowerPC/PPCSubtarget.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/PPCSubtarget.h b/lib/Target/PowerPC/PPCSubtarget.h index 33f73b22aa..1e428f5368 100644 --- a/lib/Target/PowerPC/PPCSubtarget.h +++ b/lib/Target/PowerPC/PPCSubtarget.h @@ -29,6 +29,7 @@ protected: /// Used by the ISel to turn in optimizations for POWER4-derived architectures bool IsGigaProcessor; + bool Is64Bit; bool HasFSQRT; bool IsAIX; bool IsDarwin; @@ -47,7 +48,7 @@ public: bool isAIX() const { return IsAIX; } bool isDarwin() const { return IsDarwin; } - + bool is64Bit() const { return Is64Bit; } bool isGigaProcessor() const { return IsGigaProcessor; } }; } // End llvm namespace |