fix TLI's combineRepeatedFPDivisors interface to return the minimum user threshold
[oota-llvm.git] / lib / Target / AArch64 / AArch64ISelLowering.cpp
index be8696b25a9fc0f9f6afc957a27e4471af8deca4..8a125f3c3f2f72eb80616232d636778d27d44e07 100644 (file)
@@ -9427,10 +9427,10 @@ bool AArch64TargetLowering::useLoadStackGuardNode() const {
   return true;
 }
 
-bool AArch64TargetLowering::combineRepeatedFPDivisors(unsigned NumUsers) const {
+unsigned AArch64TargetLowering::combineRepeatedFPDivisors() const {
   // Combine multiple FDIVs with the same divisor into multiple FMULs by the
   // reciprocal if there are three or more FDIVs.
-  return NumUsers > 2;
+  return 3;
 }
 
 TargetLoweringBase::LegalizeTypeAction