ParkHanbum wrote: @QuantumSegfault To move this implementation to tryToFoldLoadIntoMI, we'd have to revert most of the code changes. Would it be better to move it to a new PR? https://github.com/llvm/llvm-project/pull/182333