[llvm] [InstCombine] Generalize zext(add X, -C) + C folding (PR #191723)

via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 12 10:12:12 PDT 2026


Maiowaa wrote:

Updated in v2:

Restored accidentally deleted FMF propagation block in foldFNegIntoConstant
Moved test from separate zext-add-general.ll to add.ll
Fixed clang-format: split long if condition across two lines

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


More information about the llvm-commits mailing list