[llvm-commits] [llvm] r124826 - in /llvm/trunk: lib/Transforms/Utils/SimplifyCFG.cpp test/Transforms/SimplifyCFG/switch-to-icmp.ll

Duncan Sands baldrick at free.fr
Thu Feb 3 23:45:04 PST 2011


Hi Benjamin,

> SimplifyCFG: Also transform switches that represent a range comparison but are not sorted into sub+icmp.

how about having a separate simplifycfg transform that reorders switch cases
so that they are sorted.  Then all transforms can rely on them being sorted.

Ciao, Duncan.



More information about the llvm-commits mailing list