[SystemZ] Fix build break from r265689
authorUlrich Weigand <ulrich.weigand@de.ibm.com>
Thu, 7 Apr 2016 16:33:25 +0000 (16:33 +0000)
committerUlrich Weigand <ulrich.weigand@de.ibm.com>
Thu, 7 Apr 2016 16:33:25 +0000 (16:33 +0000)
Fix build error seen on some build bots due to:
error: default label in switch which covers all enumeration values

llvm-svn: 265693

llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp

index 0dc32b5..80393a6 100644 (file)
@@ -1334,9 +1334,8 @@ unsigned SystemZInstrInfo::getCompareAndBranch(unsigned Opcode,
     default:
       return 0;
     }
-  default:
-    return 0;
   }
+  return 0;
 }
 
 void SystemZInstrInfo::loadImmediate(MachineBasicBlock &MBB,