[PATCH] D31080: [DAG] Extract switch lowering as a spearate object NFC

Jun Bum Lim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 28 13:00:33 PDT 2017


junbuml updated this revision to Diff 93279.
junbuml added a comment.

>From Hans' comment, decouple cluster calculation from lowering. Introduced a new structure CaseCluster which is only for cluster calculation. MachineCaseCluster will be filled from CaseCluster before lowering. Please take a look and let me know any comment.


https://reviews.llvm.org/D31080

Files:
  include/llvm/CodeGen/SwitchCaseCluster.h
  lib/CodeGen/SelectionDAG/CMakeLists.txt
  lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
  lib/CodeGen/SelectionDAG/SwitchCaseCluster.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31080.93279.patch
Type: text/x-patch
Size: 74151 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170328/79da5a2f/attachment.bin>


More information about the llvm-commits mailing list