[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:18:18 PDT 2018


aheejin updated this revision to Diff 153570.
aheejin marked an inline comment as done.
aheejin added a comment.

- Removed VT


Repository:
  rL LLVM

https://reviews.llvm.org/D48737

Files:
  lib/Target/WebAssembly/WebAssemblyISelDAGToDAG.cpp


Index: lib/Target/WebAssembly/WebAssemblyISelDAGToDAG.cpp
===================================================================
--- lib/Target/WebAssembly/WebAssemblyISelDAGToDAG.cpp
+++ 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.153570.patch
Type: text/x-patch
Size: 704 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180629/00ec87a6/attachment.bin>


More information about the llvm-commits mailing list