[llvm-commits] [LLVM, SwitchInst, case ranges] Auxiliary patch #1

Stepan Dyatkovskiy stpworld at narod.ru
Sun Oct 30 23:07:03 PDT 2011


ping.

-Stepan

Stepan Dyatkovskiy wrote:
> Hi all. The main discussion branch of this feature is here:
> http://llvm.org/bugs/show_bug.cgi?id=1255
>
> We need change SwitchInst internals: replace case value type from
> "ConstantInt" to "APInt", then move case values out from operands
> collection. To do that we need add APInt::isInitialized feature. We also
> need extend SmallSet class adding Compare parameter to this template:
> template <typename T, unsigned N, typename C = std::less<T> >
>
> Please find attached patches for review.
>
> Regards,
> Stepan.
>
>
> _______________________________________________
> 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