[llvm] r336017 - [WebAssembly] Comment out a switch block in ISelDAGToDAG
Heejin Ahn via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 29 14:19:22 PDT 2018
Author: aheejin
Date: Fri Jun 29 14:19:22 2018
New Revision: 336017
URL: http://llvm.org/viewvc/llvm-project?rev=336017&view=rev
Log:
[WebAssembly] Comment out a switch block in ISelDAGToDAG
Summary: Fixes PR37977.
Reviewers: RKSimon
Subscribers: dschuff, sbc100, sunfish, llvm-commits
Differential Revision: https://reviews.llvm.org/D48737
Modified:
llvm/trunk/lib/Target/WebAssembly/WebAssemblyISelDAGToDAG.cpp
Modified: llvm/trunk/lib/Target/WebAssembly/WebAssemblyISelDAGToDAG.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/WebAssembly/WebAssemblyISelDAGToDAG.cpp?rev=336017&r1=336016&r2=336017&view=diff
==============================================================================
--- llvm/trunk/lib/Target/WebAssembly/WebAssemblyISelDAGToDAG.cpp (original)
+++ llvm/trunk/lib/Target/WebAssembly/WebAssemblyISelDAGToDAG.cpp Fri Jun 29 14:19:22 2018
@@ -75,15 +75,14 @@ void WebAssemblyDAGToDAGISel::Select(SDN
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);
More information about the llvm-commits
mailing list