llvm
5230955a - [flang,acc] Support -ffp-maxmin-behavior option in lowering. (#184730)

Commit
20 days ago
[flang,acc] Support -ffp-maxmin-behavior option in lowering. (#184730) This patch adds `flang -fc1` option `-ffp-maxmin-behavior` and propagates it throughout Flang, so that semantics context, lowering and the pass pipeline builder can use it. MAX/MIN intrinsic and OpenACC max/min reduction lowering are now controlled by the option. I kept the `Legacy` mode, which is the default and matches the current behavior. I am going to test and merge a follow-up patch that replaces `Legacy` with `Portable`. RFC: https://discourse.llvm.org/t/flang-canonical-and-optimizable-representation-for-min-max/90037
Author
Parents
Loading