Here’s a relevant talk by Thomas König, FortranCon2020 [SP]: Front-end optimization in gfortran, starting at time 22:22 (note the preview below may be wrong) where he talks about inlining matrix multiplication:
Here’s a relevant talk by Thomas König, FortranCon2020 [SP]: Front-end optimization in gfortran, starting at time 22:22 (note the preview below may be wrong) where he talks about inlining matrix multiplication: