aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LiveDebugVariables.cpp
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
commit9ba7762d7feae1b35e12ccb3934e0e80369213ac (patch)
treec6c9c3b444931c93533eeafb0dce737f41a6e4bc /llvm/lib/CodeGen/LiveDebugVariables.cpp
parente601d78f946ed5f9eb24db66219c154e7fdc28fa (diff)
downloadllvm-9ba7762d7feae1b35e12ccb3934e0e80369213ac.zip
llvm-9ba7762d7feae1b35e12ccb3934e0e80369213ac.tar.gz
llvm-9ba7762d7feae1b35e12ccb3934e0e80369213ac.tar.bz2
[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. llvm-svn: 207217
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions