================ @@ -429,6 +429,152 @@ loop: br label %loop } +; Preserve NSW for constant invariant operands and enable hoistAdd(). ---------------- agrabezh wrote: fixed https://github.com/llvm/llvm-project/pull/221210