tschuett wrote: If MIRHS is undef and we reorder the combines, we get different results. Constant folding and canonicalization share resources. https://github.com/llvm/llvm-project/pull/105991