[llvm] DAG: Assert fcmp uno runtime calls are boolean values (PR #142898)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 5 17:39:17 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");
----------------
arsenm wrote:
Yes, it was setting the default value so this never did anything
https://github.com/llvm/llvm-project/pull/142898
More information about the llvm-commits
mailing list