[llvm] [AArch64] Parameterize repeated FP divisor combine threshold by subtarget (PR #216930)

Sander de Smalen via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 7 01:29:42 PDT 2026


================
@@ -313,6 +314,8 @@ class AArch64Subtarget final : public AArch64GenSubtargetInfo {
 
   unsigned getFixedLoadLatency() const { return FixedLoadLatency; }
 
+  unsigned getMinFDivForCombining() const { return MinFDivForCombining; }
----------------
sdesmalen-arm wrote:

nit: perhaps name this `getReciprocalFDivCombineThreshold` (and the variable `ReciprocalFDivCombineThreshold`)

https://github.com/llvm/llvm-project/pull/216930


More information about the llvm-commits mailing list