[WebAssembly] Comment out a switch block in ISelDAGToDAG
authorHeejin Ahn <aheejin@gmail.com>
Fri, 29 Jun 2018 21:19:22 +0000 (21:19 +0000)
committerHeejin Ahn <aheejin@gmail.com>
Fri, 29 Jun 2018 21:19:22 +0000 (21:19 +0000)
Summary: Fixes PR37977.

Reviewers: RKSimon

Subscribers: dschuff, sbc100, sunfish, llvm-commits

Differential Revision: https://reviews.llvm.org/D48737

llvm-svn: 336017

llvm/lib/Target/WebAssembly/WebAssemblyISelDAGToDAG.cpp

index 5e00755..fdf3a30 100644 (file)
@@ -75,15 +75,14 @@ void WebAssemblyDAGToDAGISel::Select(SDNode *Node) {
     return;
   }
 
-  // Few custom selection stuff.
-  EVT VT = Node->getValueType(0);
-
+  // Few custom selection stuff. If we need WebAssembly-specific selection,
+  // uncomment this block add corresponding case statements.
+  /*
   switch (Node->getOpcode()) {
   default:
     break;
-    // If we need WebAssembly-specific selection, it would go here.
-    (void)VT;
   }
+  */
 
   // Select the default instruction.
   SelectCode(Node);