[llvm] [TargetLowering] Prefer selects over usubo if we do the same for ucmp (PR #159889)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 19 18:50:29 PDT 2025
================
@@ -9782,7 +9782,8 @@ SDValue TargetLowering::expandABD(SDNode *N, SelectionDAG &DAG) const {
// flag if the (scalar) type is illegal as this is more likely to legalize
----------------
AZero13 wrote:
Honestly maybe the function should be renamed to be more fitting: it's basically there because on some platforms that have a csel instruction, it's better to use them.
https://github.com/llvm/llvm-project/pull/159889
More information about the llvm-commits
mailing list