From 5f9e4c1189ab4a8ea1b0000d9337060ac3cac26e Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Tue, 12 Jun 2012 20:26:43 +0000 Subject: [PATCH] Use DenseMap as SmallMap workaround rather than std::map, at Chandler's request. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158371 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Scalar/Reassociate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Transforms/Scalar/Reassociate.cpp b/lib/Transforms/Scalar/Reassociate.cpp index 0eb4c66eb99..8cace5eebdb 100644 --- a/lib/Transforms/Scalar/Reassociate.cpp +++ b/lib/Transforms/Scalar/Reassociate.cpp @@ -485,7 +485,7 @@ static bool LinearizeExprTree(BinaryOperator *I, // Leaves - Keeps track of the set of putative leaves as well as the number of // paths to each leaf seen so far. - typedef std::map LeafMap; + typedef DenseMap LeafMap; LeafMap Leaves; // Leaf -> Total weight so far. SmallVector LeafOrder; // Ensure deterministic leaf output order. -- 2.34.1