[llvm] [InstCombine] Treat `lshr nneg` as `ashr` in `getBinOpsForFactorization` (PR #75521)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 14 12:12:03 PST 2023


https://github.com/nikic approved this pull request.

LGTM, but please add a negative test with ashr + lshr with negative LHS.

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


More information about the llvm-commits mailing list