[CodeGen] Add hook/combine to form vector extloads, enabled on X86.
[oota-llvm.git] / include / llvm / Target / TargetLowering.h
index 12c4f9bb547c4b8339b28e9c6d06e27ab83a52ed..840dd03822bad9ef73809b200070571b115097a9 100644 (file)
@@ -1518,6 +1518,10 @@ public:
     return false;
   }
 
+  /// Return true if folding a vector load into ExtVal (a sign, zero, or any
+  /// extend node) is profitable.
+  virtual bool isVectorLoadExtDesirable(SDValue ExtVal) const { return false; }
+
   /// Return true if an fneg operation is free to the point where it is never
   /// worthwhile to replace it with a bitwise operation.
   virtual bool isFNegFree(EVT VT) const {