aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PPCSubtarget.h
diff options
context:
space:
mode:
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 aaf07f9129..33f73b22aa 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; }