[flang-commits] [flang] [Flang] Allow Intrinsic simpification with min/maxloc dim and scalar result. (PR #75820)

Kiran Chandramohan via flang-commits flang-commits at lists.llvm.org
Fri Dec 22 04:26:26 PST 2023


kiranchandramohan wrote:

I guess it is alright to relax some of these checks with optimisations.

> Is there an optimization level where we generally expect inlining to be performed?

The intrinsic simplification pass is invoked only when optimizing for speed (O1 and above). 
https://github.com/llvm/llvm-project/blob/95b423e44f6f35651bb1e7d4f6e0591df71360af/flang/include/flang/Tools/CLOptions.inc#L203

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


More information about the flang-commits mailing list