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

via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 20 08:48:52 PDT 2024


AtariDreams wrote:

The freeze instructions added more instructions so I removed handling for that and now nsw or nuw is required. Freeze is for when none of those are present.

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


More information about the llvm-commits mailing list