[flang-commits] [flang] [flang] Eliminate workaround for optimizing maxval Fortran intrinsic (PR #65814)

Slava Zakharin via flang-commits flang-commits at lists.llvm.org
Tue Sep 12 15:58:02 PDT 2023


vzakhari wrote:

I am not sure that `mlir::arith::MaxFOp` has a lot of benefits over the select here.  Most code generators will recognize the `max` idiom and optimize it accordingly based on the fast math flags provided.  Can you please share the use case that you care about?

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


More information about the flang-commits mailing list