[PATCH] D48737: [WebAssembly] Comment out a switch block in ISelDAGToDAG
Heejin Ahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 28 13:06:00 PDT 2018
aheejin created this revision.
aheejin added reviewers: RKSimon, jgravelle-google.
Herald added subscribers: llvm-commits, sunfish, sbc100, dschuff.
Fixes PR37977.
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,15 @@
return;
}
- // Few custom selection stuff.
+ // Few custom selection stuff. If we need WebAssembly-specific selection,
+ // uncomment this block add corresponding case statements.
+ /*
EVT VT = Node->getValueType(0);
-
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.153377.patch
Type: text/x-patch
Size: 704 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180628/27220f26/attachment.bin>
More information about the llvm-commits
mailing list