[C++] Use 'nullptr'.
[oota-llvm.git] / lib / Target / X86 / X86ISelLowering.cpp
index d1f19a72426f8b474361f85a474d5c9c03a7d259..5b0882b2efc0e3fc55aa5f32116958f3c7d34c04 100644 (file)
@@ -11515,7 +11515,7 @@ static SDValue getTargetVShiftByConstNode(unsigned Opc, SDLoc dl, MVT VT,
     ConstantSDNode *ND;
 
     switch(Opc) {
-    default: llvm_unreachable(0);
+    default: llvm_unreachable(nullptr);
     case X86ISD::VSHLI:
       for (unsigned i=0; i!=NumElts; ++i) {
         SDValue CurrentOp = SrcOp->getOperand(i);