Fix build warnings

The following CL enables -Werror:
  https://codereview.chromium.org/863093002/

There were two warnings left in our subzero build:
 - Dead default cases because all of an enum's values were handled by the switch.
 - Use of C99 VLA.

R=stichnot@chromium.org
TEST= make check
BUG= none

Review URL: https://codereview.chromium.org/862853003
diff --git a/src/IceCfgNode.cpp b/src/IceCfgNode.cpp
index 4a970ae..29eb9d0 100644
--- a/src/IceCfgNode.cpp
+++ b/src/IceCfgNode.cpp
@@ -304,14 +304,15 @@
     return;
 
   // Count the number of non-deleted Phi instructions.
-  struct {
+  struct PhiDesc {
     InstPhi *Phi;
     Variable *Dest;
     Operand *Src;
     bool Processed;
     size_t NumPred; // number of entries whose Src is this Dest
     int32_t Weight; // preference for topological order
-  } Desc[getPhis().size()];
+  };
+  llvm::SmallVector<PhiDesc, 32> Desc(getPhis().size());
 
   size_t NumPhis = 0;
   for (Inst &I : Phis) {