summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCSubtarget.h
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2012-06-22 23:10:08 +0000
committerHal Finkel <hfinkel@anl.gov>2012-06-22 23:10:08 +0000
commit460e94d84297d32aac0b3ccb88b80fc57433bfae (patch)
tree4e480685cd30690c7a525ecd8052880dc6be2928 /llvm/lib/Target/PowerPC/PPCSubtarget.h
parent1ce3805b230e87a512af5a52ec325650805300e3 (diff)
downloadbcm5719-llvm-460e94d84297d32aac0b3ccb88b80fc57433bfae.tar.gz
bcm5719-llvm-460e94d84297d32aac0b3ccb88b80fc57433bfae.zip
Add support for the PPC isel instruction.
The isel (integer select) instruction is supported on the 440 and A2 embedded cores and on the POWER7. llvm-svn: 159045
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCSubtarget.h')
-rw-r--r--llvm/lib/Target/PowerPC/PPCSubtarget.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCSubtarget.h b/llvm/lib/Target/PowerPC/PPCSubtarget.h
index 7d9be557137..0207c833938 100644
--- a/llvm/lib/Target/PowerPC/PPCSubtarget.h
+++ b/llvm/lib/Target/PowerPC/PPCSubtarget.h
@@ -70,6 +70,7 @@ protected:
bool HasAltivec;
bool HasFSQRT;
bool HasSTFIWX;
+ bool HasISEL;
bool IsBookE;
bool HasLazyResolverStubs;
bool IsJITCodeModel;
@@ -141,6 +142,7 @@ public:
bool hasSTFIWX() const { return HasSTFIWX; }
bool hasAltivec() const { return HasAltivec; }
bool hasMFOCRF() const { return HasMFOCRF; }
+ bool hasISEL() const { return HasISEL; }
bool isBookE() const { return IsBookE; }
const Triple &getTargetTriple() const { return TargetTriple; }
OpenPOWER on IntegriCloud