paperchalice wrote: It is not clear which fast math flag to use here, `afn` and `contract` are candidates here. Asking `instcombine` maintainers for advice... https://github.com/llvm/llvm-project/pull/154768