boomanaiden154 wrote: If we're going to revert this, it would be good to have a reproducer posted somewhere (eg a self contained fortran file that shows differing IR post PreISelLowering). https://github.com/llvm/llvm-project/pull/171452