[llvm] [LICM] Preserve nsw when reassociating integer adds (PR #221210)

Andrey Grabezhnoy via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 10 06:46:45 PDT 2026


================
@@ -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


More information about the llvm-commits mailing list