summaryrefslogtreecommitdiff
path: root/lib/Bitcode/Reader
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2014-04-25 09:52:44 +0000
committerChandler Carruth <chandlerc@gmail.com>2014-04-25 09:52:44 +0000
commit09d1d3d5880588d9f26bd4ed863e145cae477a89 (patch)
treeb5ecf9c21032949c93bf27a323bc594e7ff5187a /lib/Bitcode/Reader
parent435b9bd9fb1c9ebe68b4332035d318808659486c (diff)
downloadllvm-09d1d3d5880588d9f26bd4ed863e145cae477a89.tar.gz
llvm-09d1d3d5880588d9f26bd4ed863e145cae477a89.tar.bz2
llvm-09d1d3d5880588d9f26bd4ed863e145cae477a89.tar.xz
[LCG] During the incremental update of an SCC, switch to using the
SCCMap to test for nodes that have been re-added to the root SCC rather than a set vector. We already have done the SCCMap lookup, we juts need to test it in two different ways. In turn, do most of the processing of these nodes as they go into the root SCC rather than lazily. This simplifies the final loop to just stitch the root SCC into its children's parent sets. No functionlatiy changed. However, this makes a few things painfully obvious, which was my intent. =] There is tons of repeated code introduced here and elsewhere. I'm splitting the refactoring of that code into helpers from this change so its clear that this is the change which switches the datastructures used around, and the other is a pure factoring & deduplication of code change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207217 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Reader')
0 files changed, 0 insertions, 0 deletions