Add direct moves to/from VSR and exploit them for FP/INT conversions
[oota-llvm.git] / lib / Target / PowerPC / PPCSubtarget.h
index 6941be6cf979710e35d9363bbe29c474ce7f9aae..8d955088634a32b0fdeed2d89c159536fecf8f93 100644 (file)
@@ -117,6 +117,7 @@ protected:
   bool HasICBT;
   bool HasInvariantFunctionDescriptors;
   bool HasPartwordAtomics;
+  bool HasDirectMove;
   bool HasHTM;
 
   /// When targeting QPX running a stock PPC64 Linux kernel where the stack
@@ -243,6 +244,7 @@ public:
     return HasInvariantFunctionDescriptors;
   }
   bool hasPartwordAtomics() const { return HasPartwordAtomics; }
+  bool hasDirectMove() const { return HasDirectMove; }
 
   bool isQPXStackUnaligned() const { return IsQPXStackUnaligned; }
   unsigned getPlatformStackAlignment() const {