File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -29721,12 +29721,13 @@ void AArch64TargetLowering::verifyTargetSDNode(const SDNode *N) const {
2972129721 EVT Op0VT = N->getOperand(0).getValueType();
2972229722 EVT Op1VT = N->getOperand(1).getValueType();
2972329723 assert(VT.isVector() && Op0VT.isVector() && Op1VT.isVector() &&
29724- "Expected vectors!");
29725- assert(VT.getSizeInBits() == Op0VT.getSizeInBits() &&
29726- Op0VT.getSizeInBits() == Op1VT.getSizeInBits() &&
29724+ VT.isInteger() && Op0VT.isInteger() && Op1VT.isInteger() &&
29725+ "Expected integer vectors!");
29726+ assert(VT == Op0VT &&
29727+ "Expected result and first input to have the same type!");
29728+ assert(Op0VT.getSizeInBits() == Op1VT.getSizeInBits() &&
2972729729 "Expected vectors of equal size!");
2972829730 assert(Op0VT.getVectorElementCount() * 2 == Op1VT.getVectorElementCount() &&
29729- Op0VT.getVectorElementCount() == VT.getVectorElementCount() &&
2973029731 "Expected result vector and first input vector to have half the "
2973129732 "lanes of the second input vector!");
2973229733 break;
You can’t perform that action at this time.
0 commit comments