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

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 29 06:07:18 PDT 2018


RKSimon accepted this revision.
RKSimon added a comment.
This revision is now accepted and ready to land.

LGTM with one minor



================
Comment at: lib/Target/WebAssembly/WebAssemblyISelDAGToDAG.cpp:81
+  /*
   EVT VT = Node->getValueType(0);
   switch (Node->getOpcode()) {
----------------
Probably not worth keeping the VT here? Its easy enough to add back if you need it - I think you're mainly interested in showing how to use the switch statement.


Repository:
  rL LLVM

https://reviews.llvm.org/D48737





More information about the llvm-commits mailing list