Loop invariant code motion can pull an fdiv out of by putting a reciprocal outside and using an fmul inside. InstCombine shouldn't reverse that.
I just did a simple basic block parent check rather than checking for the loop. I can call getLoop and isInvariant if we think that would be better.
clang-format not found in user's PATH; not linting file.