[llvm-commits] New classes for PR1255: Should enhance LLVM switch instruction to take case ranges.
Stepan Dyatkovskiy
STPWORLD at narod.ru
Mon Mar 5 04:49:11 PST 2012
We can discuss it it. But ranges should be hidden inside more global object that implements the set of ranges.
-Stepan.
20.02.2012, 20:08, "Duncan Sands" <baldrick at free.fr>:
> Hi Stepan,
>
>> I propose to store single values as ranges two. Vector with one element - single value; two elements means the range. Instead I mean just a structure here, just a concept. I propose to store union range/single value in array.
>> But now I had undestood you mean - it is non-economical implementation relative to the RAM consumption. Let me think more.
>> The only thing I can propose afterall is ConstantRangesSet + CRSBuilder concept as interface for user. If we accepted some interface we can be free with its implementation.
>
> why not use the existing ConstantRange class?
>
> Ciao, Duncan.
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list