[llvm-commits] LowerSwitch improvement patch for review
Anton Korobeynikov
asl at math.spbu.ru
Tue Feb 27 15:50:02 PST 2007
Hello, Everyone.
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...
Name: ls.diff
Type: text/x-patch
Size: 8184 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20070228/b89c64d1/attachment.bin>
More information about the llvm-commits
mailing list