We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent daf1a1f commit e487356Copy full SHA for e487356
llvm/include/llvm/CodeGen/SelectionDAG.h
@@ -1119,9 +1119,9 @@ class SelectionDAG {
1119
ISD::CondCode Cond, SDValue Chain = SDValue(),
1120
bool IsSignaling = false) {
1121
assert(LHS.getValueType().isVector() == RHS.getValueType().isVector() &&
1122
- "Cannot compare scalars to vectors");
+ "Vector/scalar operand type mismatch for setcc");
1123
assert(LHS.getValueType().isVector() == VT.isVector() &&
1124
+ "Vector/scalar result type mismatch for setcc");
1125
assert(Cond != ISD::SETCC_INVALID &&
1126
"Cannot create a setCC of an invalid node.");
1127
if (Chain)
0 commit comments