[llvm] [InstCombine] Avoid breaking SPF by `foldICmpUsingKnownBits` (PR #82472)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 23 10:57:49 PST 2024


dtcxzyw wrote:

> Based on the test diffs, we're clearly missing a `umax(smax)` -> `smax` fold. But that should be addressed by adding the fold. Please add some test coverage for the benefit that this is supposed to produce.

Alive2: https://alive2.llvm.org/ce/z/wfEj-e

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


More information about the llvm-commits mailing list