[bpf] fix build
authorAlexei Starovoitov <alexei.starovoitov@gmail.com>
Wed, 20 May 2015 00:20:26 +0000 (00:20 +0000)
committerAlexei Starovoitov <alexei.starovoitov@gmail.com>
Wed, 20 May 2015 00:20:26 +0000 (00:20 +0000)
llvm-svn: 237751

llvm/lib/Target/BPF/BPFISelLowering.cpp

index 902ed00..38c56bb 100644 (file)
@@ -510,7 +510,7 @@ SDValue BPFTargetLowering::LowerSELECT_CC(SDValue Op, SelectionDAG &DAG) const {
 
 const char *BPFTargetLowering::getTargetNodeName(unsigned Opcode) const {
   switch ((BPFISD::NodeType)Opcode) {
-  case BPFISD::FIRST_TYPE:
+  case BPFISD::FIRST_NUMBER:
     break;
   case BPFISD::RET_FLAG:
     return "BPFISD::RET_FLAG";