SahilPatidar wrote: @jayfoad, I tried setting the `denormal-fp-math` attribute to various options (`positive-zero`, `dynamic,dynamic`, and `preserve-sign`) as you suggested. it seems to be preventing optimizations as you mentioned. https://github.com/llvm/llvm-project/pull/85506