[PATCH] D48737: [WebAssembly] Comment out a switch block in ISelDAGToDAG

Heejin Ahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 29 14:24:09 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL336017: [WebAssembly] Comment out a switch block in ISelDAGToDAG (authored by aheejin, committed by ).

Repository:
  rL LLVM

https://reviews.llvm.org/D48737

Files:
  llvm/trunk/lib/Target/WebAssembly/WebAssemblyISelDAGToDAG.cpp


Index: llvm/trunk/lib/Target/WebAssembly/WebAssemblyISelDAGToDAG.cpp
===================================================================
--- llvm/trunk/lib/Target/WebAssembly/WebAssemblyISelDAGToDAG.cpp
+++ llvm/trunk/lib/Target/WebAssembly/WebAssemblyISelDAGToDAG.cpp
@@ -75,15 +75,14 @@
     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);


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48737.153572.patch
Type: text/x-patch
Size: 737 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180629/d796ee7a/attachment.bin>


More information about the llvm-commits mailing list