R600/SI: FMA is faster than fmul and fadd for f64
[oota-llvm.git] / lib / Target / R600 / SIISelLowering.h
index b4202c475d421db2142be0be5b35d561cf93897e..effbf1f85dea55af60faece4910330b4411d7b04 100644 (file)
@@ -55,6 +55,7 @@ public:
                                               MachineBasicBlock * BB) const;
   virtual EVT getSetCCResultType(LLVMContext &Context, EVT VT) const;
   virtual MVT getScalarShiftAmountTy(EVT VT) const;
+  virtual bool isFMAFasterThanFMulAndFAdd(EVT VT) const;
   virtual SDValue LowerOperation(SDValue Op, SelectionDAG &DAG) const;
   virtual SDValue PerformDAGCombine(SDNode *N, DAGCombinerInfo &DCI) const;
   virtual SDNode *PostISelFolding(MachineSDNode *N, SelectionDAG &DAG) const;