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

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 26 18:06:37 PDT 2024


topperc wrote:

> A generalization of the proposed x * 3/2 -> x + (x >> 1) transformation.

Proposed where?

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


More information about the llvm-commits mailing list