[llvm] [RISCV] Prefer (select (x < 0), y, z) -> x >> (XLEN - 1) & (y - z) + z even with Zicond. (PR #125772)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 4 15:26:06 PST 2025


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

LGTM. Thank you!
Please add some tests to demonstrate the change.

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


More information about the llvm-commits mailing list