[LLVMdev] [LLVM] case ranges

Duncan Sands baldrick at free.fr
Wed Sep 7 13:12:43 PDT 2011


On 07/09/11 21:24, Stepan Dyatkovskiy wrote:
> Hi every body.
> Is "case ranges" feature still actual?

Yes.  The dragonegg front-end is obliged to output a combination of
condition-test+branch and switch statements in order to work around
LLVM's lack of case ranges in switches.  That said, it's not clear
to me that case ranges really wins you much beyond simplifying front
ends a little.

Ciao, Duncan.



More information about the llvm-dev mailing list