summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitaa3b1fcc58cdac20c833abced4cd0de8258f1351 (patch)
tree2bd427d0bf57cd9c8c39afe804a676cc8b6544c1 /llvm/lib/Target/PowerPC/PPCSubtarget.h
parentffb99034cf147b8deceb6eaea17b125fb89d1d1c (diff)
downloadbcm5719-llvm-aa3b1fcc58cdac20c833abced4cd0de8258f1351.tar.gz
bcm5719-llvm-aa3b1fcc58cdac20c833abced4cd0de8258f1351.zip
Decouple fsqrt from gpul optimizations, implementing fsqrt.ll.
Remove the -enable-gpopt option which is subsumed by feature flags. llvm-svn: 23218
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCSubtarget.h')
-rw-r--r--llvm/lib/Target/PowerPC/PPCSubtarget.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCSubtarget.h b/llvm/lib/Target/PowerPC/PPCSubtarget.h
index aaf07f91299..33f73b22aaf 100644
--- a/llvm/lib/Target/PowerPC/PPCSubtarget.h
+++ b/llvm/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; }
OpenPOWER on IntegriCloud