[llvm] [InstCombine] Fix saturated add canonicalization (PR #97973)

via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 9 17:11:55 PDT 2024


AtariDreams wrote:

> This PR has gone from handling 2 cases to 4 cases, but it doesn't seem like there is test coverage for all of them? (Please pre-commit the tests so it's visible that *all* the new code paths are actually needed.)

Added cases for all of them!

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


More information about the llvm-commits mailing list