summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG
diff options
context:
space:
mode:
authorStepan Dyatkovskiy <stpworld@narod.ru>2012-06-02 07:26:00 +0000
committerStepan Dyatkovskiy <stpworld@narod.ru>2012-06-02 07:26:00 +0000
commit9549f5894bb0eb6162a91021abeaa4f6a3081b4b (patch)
treef56c97ffb292e633df711517cb4284e2d105f1ff /llvm/lib/CodeGen/SelectionDAG
parenta539598f65aa4f4b3582b059fd27d8d0a619bca1 (diff)
downloadbcm5719-llvm-9549f5894bb0eb6162a91021abeaa4f6a3081b4b.tar.gz
bcm5719-llvm-9549f5894bb0eb6162a91021abeaa4f6a3081b4b.zip
PR1255: case ranges.
IntegersSubsetGeneric, IntegersSubsetMapping: added IntTy template parameter, that allows use either APInt or IntItem. This change allows to write unittest for these classes. llvm-svn: 157880
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
index ff3993f2224..15c4258ddb8 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, IntegersSubset> Clusterifier;
+ typedef IntegersSubsetMapping<MachineBasicBlock> Clusterifier;
Clusterifier TheClusterifier;
OpenPOWER on IntegriCloud