[llvm] [InstCombine] Add optimization to combine adds through zext nneg, and add testcase (PR #157723)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 1 08:24:16 PDT 2025


================

----------------
nikic wrote:

If you use early exits like this, the transform should be moved into a separate function. Otherwise there is a high risk of accidentally skipping transforms that get added after this point.

https://github.com/llvm/llvm-project/pull/157723


More information about the llvm-commits mailing list