[llvm] DAG: Assert fcmp uno runtime calls are boolean values (PR #142898)
Eli Friedman via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 5 13:02:51 PDT 2025
================
@@ -429,8 +429,20 @@ void TargetLowering::softenSetCCOperands(SelectionDAG &DAG, EVT VT,
// Update Chain.
Chain = Call.second;
} else {
+ assert(CCCode == (ShouldInvertCC ? ISD::SETEQ : ISD::SETNE) &&
+ "unordered call should be simple boolean");
----------------
efriedma-quic wrote:
Oh, wait, I see, we don't call setCmpLibcallCC in that case, so the ARMISelLowering change is just a no-op.
https://github.com/llvm/llvm-project/pull/142898
More information about the llvm-commits
mailing list