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 | 2dded8302a781d737d22ac613de4e9cae5153a86 (patch) | |
tree | 88e5f9de80fbbeae0f76454b44d9c62e742fe59c /llvm/lib/Target/PowerPC/PPCSubtarget.cpp | |
parent | d23739d020688434ff7c2950963ea570a04c2b42 (diff) | |
download | bcm5719-llvm-2dded8302a781d737d22ac613de4e9cae5153a86.tar.gz bcm5719-llvm-2dded8302a781d737d22ac613de4e9cae5153a86.zip |
Add accessor for 64bit flag, so that we can tell when it is safe to
generate the fun in-register fp<->long instructions.
llvm-svn: 23244
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCSubtarget.cpp')
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCSubtarget.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCSubtarget.cpp b/llvm/lib/Target/PowerPC/PPCSubtarget.cpp index ca9d0778e04..3196f09ff25 100644 --- a/llvm/lib/Target/PowerPC/PPCSubtarget.cpp +++ b/llvm/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 |