OSDN Git Service

[Dominators] Fix some edge cases for PostDomTree updating
authorDavid Green <david.green@arm.com>
Sat, 20 Jan 2018 10:29:37 +0000 (10:29 +0000)
committerDavid Green <david.green@arm.com>
Sat, 20 Jan 2018 10:29:37 +0000 (10:29 +0000)
commit6d979aef2ddb935e2ee6d4b8073da4c06e24a0ae
tree5e3e3b357f96ca3324d51251687bf19bb4db2b8f
parent7987a0b910fea69923cac98bfcc3d2f2a62a7a48
[Dominators] Fix some edge cases for PostDomTree updating

These fix some odd cfg cases where batch-updating the post
dom tree fails. Usually around infinite loops and roots
ending up being different.

Differential Revision: https://reviews.llvm.org/D42247

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@323034 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/GenericDomTreeConstruction.h
unittests/IR/DominatorTreeBatchUpdatesTest.cpp