Revert "[PeepholeOptimizer] Look through PHIs to find additional register sources"
[oota-llvm.git] / include / llvm / Target / TargetLowering.h
index d9d9f6fa1d6163697325990c563f66a7c6d14f6f..bd23b748a0a27c5822c82adc9bd891ed6657d29c 100644 (file)
@@ -2732,10 +2732,12 @@ public:
     return SDValue();
   }
 
-  /// Indicate whether this target prefers to combine the given number of FDIVs
-  /// with the same divisor.
-  virtual bool combineRepeatedFPDivisors(unsigned NumUsers) const {
-    return false;
+  /// Indicate whether this target prefers to combine FDIVs with the same
+  /// divisor. If the transform should never be done, return zero. If the
+  /// transform should be done, return the minimum number of divisor uses
+  /// that must exist.
+  virtual unsigned combineRepeatedFPDivisors() const {
+    return 0;
   }
 
   /// Hooks for building estimates in place of slower divisions and square