sushgokh wrote: >I don't like the function-based fast-math attributes... but it does seem to be the only quick path out of here. @jcranmer-intel could you now review the changes? I have tried addressing the flags issue with the tests. https://github.com/llvm/llvm-project/pull/83381