search for: handlebtsplitswitchcase

Displaying 1 result from an estimated 1 matches for "handlebtsplitswitchcase".

2013 Dec 24
2
[LLVMdev] Quirk in switch lowering
Hello all, in SelectionDAGBuilder::handleBTSplitSwitchCase (lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp) seems to be a quirk which can effectively create an else-if chain from a very sparse switch statement instead of a balanced binary tree. A possible solution is to weight an isolated single switch label with 0. To do this one can replace the as...