andjo403 wrote: hmm is it strange to remove the condition in the assume in this fold as it can result in that all the information about the assume is removed if the load is not needed. https://github.com/llvm/llvm-project/pull/128296