Fix a [-Werror,-Wcovered-switch-default] warning by removing the
[oota-llvm.git] / lib / Target / WebAssembly / Relooper.cpp
index 61fdcc0cc7a6c7abde5049af375ef5ca12f3455d..9b718ef094aa7e879bfe208183abfe65413b5e9f 100644 (file)
@@ -754,7 +754,6 @@ void RelooperAlgorithm::Calculate(Block *Entry) {
           loop(cast<LoopShape>(var));
           break;
         }
-        default: llvm_unreachable("invalid shape");
       }
     }