diff options
author | Duncan Sands <baldrick@free.fr> | 2012-06-12 20:26:43 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2012-06-12 20:26:43 +0000 |
commit | 72aea01b6e32a0fd0c53e25a7e841d80eb4040e2 (patch) | |
tree | 5414bcd188ef006b3973fd9b6b291cd27ec640d4 /llvm/lib/Transforms/Scalar/Reassociate.cpp | |
parent | d5ea39a871198eafbf153e408ed1cbfaed5afe69 (diff) | |
download | bcm5719-llvm-72aea01b6e32a0fd0c53e25a7e841d80eb4040e2.tar.gz bcm5719-llvm-72aea01b6e32a0fd0c53e25a7e841d80eb4040e2.zip |
Use DenseMap as SmallMap workaround rather than std::map, at Chandler's request.
llvm-svn: 158371
Diffstat (limited to 'llvm/lib/Transforms/Scalar/Reassociate.cpp')
-rw-r--r-- | llvm/lib/Transforms/Scalar/Reassociate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/Reassociate.cpp b/llvm/lib/Transforms/Scalar/Reassociate.cpp index 0eb4c66eb99..8cace5eebdb 100644 --- a/llvm/lib/Transforms/Scalar/Reassociate.cpp +++ b/llvm/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<Value*, APInt> LeafMap; + typedef DenseMap<Value*, APInt> LeafMap; LeafMap Leaves; // Leaf -> Total weight so far. SmallVector<Value*, 8> LeafOrder; // Ensure deterministic leaf output order. |