[llvm-commits] llvm-gcc: emit switch cases with a wide range as a conditional branch

Duncan Sands baldrick at free.fr
Fri Mar 16 06:27:25 PDT 2007


> I am testing the following patch.  While I was there, I made it agnostic
> as to the signedness of the switch expression and cases (in Ada they can
> be unsigned).

I forgot to emit a new BB after the unconditional branch to the default
label.  Attached patch is otherwise the same as the previous one.

Duncan.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: switch.diff
Type: text/x-diff
Size: 4069 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20070316/4bad59cd/attachment.diff>


More information about the llvm-commits mailing list