[llvm] [InstCombine] Check for undef before transforming lshr (mul (X, 2^N + 1)), N -> add (X, lshr(X, N)) (PR #96324)

via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 23 07:03:41 PDT 2024


AtariDreams wrote:

@dtcxzyw As this is not a new transformation but rather a precaution/bugfix for an existing one, I would like this to be backported to 19.x

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


More information about the llvm-commits mailing list