AlexVlx wrote: > This is really just a constant folding rather than a new pass. If the concern is that InstCombine works too late that is possible to add an earlier invocation. Done. https://github.com/llvm/llvm-project/pull/114481