================ @@ -626,6 +626,100 @@ Instruction *InstCombinerImpl::foldPowiReassoc(BinaryOperator &I) { return nullptr; } +static bool isFSqrtDivToFMulLegal(Instruction *X, ---------------- arsenm wrote: Yes https://github.com/llvm/llvm-project/pull/87474