aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PPCSubtarget.cpp
diff options
context:
space:
mode:
authorNate Begeman <natebegeman@mac.com>2005-09-06 15:30:12 +0000
committerNate Begeman <natebegeman@mac.com>2005-09-06 15:30:12 +0000
commitd401dff7966ca3ac644cddcda4f1e6d30074923e (patch)
tree29e72a558d6546c0c06d79ba81f4f09901783be0 /lib/Target/PowerPC/PPCSubtarget.cpp
parent83e75ecd2725aed3ace0bd52945f2b5266696d00 (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.cpp')
-rw-r--r--lib/Target/PowerPC/PPCSubtarget.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/PowerPC/PPCSubtarget.cpp b/lib/Target/PowerPC/PPCSubtarget.cpp
index ca9d0778e0..3196f09ff2 100644
--- a/lib/Target/PowerPC/PPCSubtarget.cpp
+++ b/lib/Target/PowerPC/PPCSubtarget.cpp
@@ -132,6 +132,7 @@ PPCSubtarget::PPCSubtarget(const Module &M, const std::string &FS)
PowerPCSubTypeKV, PowerPCSubTypeKVSize,
PowerPCFeatureKV, PowerPCFeatureKVSize);
IsGigaProcessor = (Bits & PowerPCFeatureGPUL ) != 0;
+ Is64Bit = (Bits & PowerPCFeature64Bit) != 0;
HasFSQRT = (Bits & PowerPCFeatureFSqrt) != 0;
// Set the boolean corresponding to the current target triple, or the default