diff options
author | Stepan Dyatkovskiy <stpworld@narod.ru> | 2012-06-01 16:17:57 +0000 |
---|---|---|
committer | Stepan Dyatkovskiy <stpworld@narod.ru> | 2012-06-01 16:17:57 +0000 |
commit | 66305749f1181857940924154d774ae26722a78a (patch) | |
tree | 1212ae6d713738112aee62f7773e11cf6f96799c /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | |
parent | e7e6e9e0a4ddce67a4e85a205a41058720af3744 (diff) | |
download | bcm5719-llvm-66305749f1181857940924154d774ae26722a78a.tar.gz bcm5719-llvm-66305749f1181857940924154d774ae26722a78a.zip |
PR1255: case ranges.
IntegersSubset devided into IntegersSubsetGeneric and into IntegersSubset itself. The first has no references to ConstantInt and works with IntItem only.
IntegersSubsetMapping also made generic. Here added second template parameter "IntegersSubsetTy" that allows to use on of two IntegersSubset types described below.
llvm-svn: 157815
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp index 15c4258ddb8..ff3993f2224 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp @@ -2427,7 +2427,7 @@ size_t SelectionDAGBuilder::Clusterify(CaseVector& Cases, /// Use a shorter form of declaration, and also /// show the we want to use CRSBuilder as Clusterifier. - typedef IntegersSubsetMapping<MachineBasicBlock> Clusterifier; + typedef IntegersSubsetMapping<MachineBasicBlock, IntegersSubset> Clusterifier; Clusterifier TheClusterifier; |