aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/PowerPC/PPCSubtarget.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-09-02 18:33:05 +0000
committerChris Lattner <sabre@nondot.org>2005-09-02 18:33:05 +0000
commit1e9de3ed2db440fac99e5cc85b7d98b0a23a2727 (patch)
tree56863209cdd0f0952ccfce1101fdb3e424fe6f46 /lib/Target/PowerPC/PPCSubtarget.h
parent446a4eaee5471b81c83fa449bf4dd1f5e14c3914 (diff)
downloadexternal_llvm-1e9de3ed2db440fac99e5cc85b7d98b0a23a2727.zip
external_llvm-1e9de3ed2db440fac99e5cc85b7d98b0a23a2727.tar.gz
external_llvm-1e9de3ed2db440fac99e5cc85b7d98b0a23a2727.tar.bz2
Decouple fsqrt from gpul optimizations, implementing fsqrt.ll.
Remove the -enable-gpopt option which is subsumed by feature flags. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23218 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCSubtarget.h')
-rw-r--r--lib/Target/PowerPC/PPCSubtarget.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/PowerPC/PPCSubtarget.h b/lib/Target/PowerPC/PPCSubtarget.h
index aaf07f9..33f73b2 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 HasFSQRT;
bool IsAIX;
bool IsDarwin;
public:
@@ -42,6 +43,8 @@ public:
/// function for this subtarget.
unsigned getStackAlignment() const { return StackAlignment; }
+ bool hasFSQRT() const { return HasFSQRT; }
+
bool isAIX() const { return IsAIX; }
bool isDarwin() const { return IsDarwin; }