https://github.com/labrinea commented: Can we remove promoteConstantStackValues() ? Do you see any regressions doing so? As far as I remember that was a hack for exchange2_r, since fortran passes arguments by reference. https://github.com/llvm/llvm-project/pull/111162