summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2017-08-05 06:24:09 +0000
committerChandler Carruth <chandlerc@gmail.com>2017-08-05 06:24:09 +0000
commit38bd6b50ef500c2bf166593712443c609a3356ba (patch)
treef0591c7df6cad0da7f172adbe71bd655a8c99f6c /llvm/lib/CodeGen
parentc718b8e7c35d0677a68ecdfd8d575b58205a970f (diff)
downloadbcm5719-llvm-38bd6b50ef500c2bf166593712443c609a3356ba.tar.gz
bcm5719-llvm-38bd6b50ef500c2bf166593712443c609a3356ba.zip
[LCG] Re-implement the basic isParentOf, isAncestorOf, isChildOf, and
isDescendantOf methods on RefSCCs in terms of the forward edges rather than the parent sets. This is technically slower, but probably not interestingly slower, and all of these routines were already so expensive that they're guarded behind both !NDEBUG and EXPENSIVE_CHECKS. This removes another non-critical usage of parent sets. I've also added some comments to try and help clarify to any potential users the costs of these routines. They're mostly useful for debugging, asserts, or other queries. llvm-svn: 310170
Diffstat (limited to 'llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud