jeanPerier wrote:

Note that this is a "classic" Fortran compiler optimization, you can verify 
that at least all of gfortran, ifx, and nvfortran are doing it on something 
very easy like:

```
subroutine test
interface
 function foo()
    real :: foo(100)
 end function
end interface
   real x(100)
   x = foo()
   call bar(x)
end subroutine
```

https://github.com/llvm/llvm-project/pull/118070
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to