[llvm] [InstCombine] lshr (mul (X, 2^N + 1)), N -> add (X, lshr(X, N)) (PR #90295)

via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 27 06:55:50 PDT 2024


AtariDreams wrote:

The ashr is a leftover from a previous PR but they can work as a negative test for now because I am working on another patch that deals with ashr and I might merge it with this one if it is best.

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


More information about the llvm-commits mailing list