[llvm] [FPEnv][IRBuilder] Set strictfp mode automatically when possible. (PR #98677)

Serge Pavlov via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 18 10:14:44 PDT 2024


https://github.com/spavloff commented:

There are some places where `setFPConstrained` looks redundant after your changes, for example:

https://github.com/llvm/llvm-project/blob/13a8f8d51962b59949496c460ea0b8ad22ae908a/llvm/lib/Transforms/Utils/LowerAtomic.cpp#L102-L105

or

https://github.com/llvm/llvm-project/blob/13a8f8d51962b59949496c460ea0b8ad22ae908a/llvm/lib/Transforms/Utils/LibCallsShrinkWrap.cpp#L105-L106

Could the relevant changes be included in this patch?

https://github.com/llvm/llvm-project/pull/98677


More information about the llvm-commits mailing list