mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 17:32:19 +00:00
switch an std::set over to a SmallPtrSet, speeding up mem2reg 6% on 176.gcc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33929 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c837615cf0
commit
c670f3da72
@ -84,7 +84,7 @@ namespace {
|
||||
|
||||
/// Visited - The set of basic blocks the renamer has already visited.
|
||||
///
|
||||
std::set<BasicBlock*> Visited;
|
||||
SmallPtrSet<BasicBlock*, 16> Visited;
|
||||
|
||||
/// BBNumbers - Contains a stable numbering of basic blocks to avoid
|
||||
/// non-determinstic behavior.
|
||||
|
Loading…
x
Reference in New Issue
Block a user