OSDN Git Service

HexagonConstEvaluator::evaluateHexExt - check incoming opcodes. NFCI.
[android-x86/external-llvm.git] / lib / Target / Hexagon / HexagonConstPropagation.cpp
index f19a13f..2d5444c 100644 (file)
@@ -2723,6 +2723,8 @@ bool HexagonConstEvaluator::evaluateHexExt(const MachineInstr &MI,
     case Hexagon::A2_sxtw:
       Bits = 32;
       break;
+    default:
+      llvm_unreachable("Unhandled extension opcode");
   }
 
   bool Signed = false;