summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2016-12-06 10:29:23 +0000
committerChandler Carruth <chandlerc@gmail.com>2016-12-06 10:29:23 +0000
commit23a6c3f7462ad79be7b135e8adf246bbc756a1cb (patch)
treeb8eaa70296a95f19d9bb6acd09898a84d1eb6e17 /llvm/lib/Bitcode
parent7582c669bdc4aed10c18eb799313c2b6f7e71edb (diff)
downloadbcm5719-llvm-23a6c3f7462ad79be7b135e8adf246bbc756a1cb.tar.gz
bcm5719-llvm-23a6c3f7462ad79be7b135e8adf246bbc756a1cb.zip
[LCG] Add some much needed asserts and verify runs to uncover
a hilarious bug and fix it. We somehow were never verifying the RefSCCs newly formed when splitting an existing one apart, and when verifying them we weren't really checking the SCC indices mapping effectively. If we had been, it would have been blindingly obvious that right after putting something int `RC.SCCs` we should update `RC.SCCIndices` instead of `SCCIndices` which we were about to clear and rebuild anyways. =[ Anyways, this is thoroughly covered by existing tests now that we actually verify things properly. llvm-svn: 288795
Diffstat (limited to 'llvm/lib/Bitcode')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud