[X86ISelLowering] Provide a more informative assert message.
I stumbled upon this while debugging a lowering bug. llvm-svn: 261371
This commit is contained in:
parent
4cfe2a9e38
commit
a8f1f2efaf
@ -16567,7 +16567,7 @@ static SDValue getTargetVShiftByConstNode(unsigned Opc, SDLoc dl, MVT VT,
|
||||
ConstantSDNode *ND;
|
||||
|
||||
switch(Opc) {
|
||||
default: llvm_unreachable(nullptr);
|
||||
default: llvm_unreachable("Unknown opcode!");
|
||||
case X86ISD::VSHLI:
|
||||
for (unsigned i=0; i!=NumElts; ++i) {
|
||||
SDValue CurrentOp = SrcOp->getOperand(i);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user