[llvm] [InstCombine] Update the `select` operand when the `cond` is `trunc` and has the `nuw` or `nsw` property. (PR #105914)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 24 02:58:21 PDT 2024


https://github.com/nikic approved this pull request.

LGTM

This could be generalized using simplifyWithOpReplaced, but probably not worthwhile.

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


More information about the llvm-commits mailing list