[llvm-branch-commits] [clang] [flang] [flang][Driver] Add option for real sum reassociation (PR #207377)

Tarun Prabhu via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Jul 7 06:30:52 PDT 2026


tarunprabhu wrote:

> It isn't just "go faster": it could change program output (although in what I think is a standards conforming way). 

Doesn't `-ffast-math` also have this same trade-off? I know this is a subjective question, but do you think this demands more sophistication of the user than `-ffast-math`. If so, leaving it hidden is probably best. Otherwise, I think it is reasonable to make this a visible option, but with some more documentation about the tradeoffs of using it.

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


More information about the llvm-branch-commits mailing list