[llvm-commits] LowerSwitch improvement patch for review
asl at math.spbu.ru
Tue Feb 27 17:50:02 CST 2007
Please review attached patch for LowerSwitch. Actually, it just "merges"
adjacent cases with same destination in one big "case cluster". During
emiting comparison tree such clusters result to range comparisons. This
is pretty cheap but useful transformation.
The same technique is planned for SDISel variant of switch lowering.
With best regards, Anton Korobeynikov.
Faculty of Mathematics & Mechanics, Saint Petersburg State University.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 8184 bytes
Desc: not available
Url : http://lists.cs.uiuc.edu/pipermail/llvm-commits/attachments/20070228/b89c64d1/attachment.bin
More information about the llvm-commits