OSDN Git Service

[Dominators] Update DominatorTree compare in case roots are different
authorDavid Green <david.green@arm.com>
Mon, 19 Feb 2018 16:28:24 +0000 (16:28 +0000)
committerDavid Green <david.green@arm.com>
Mon, 19 Feb 2018 16:28:24 +0000 (16:28 +0000)
commit7c93b6c31caa3d1bd2bf88dddb4ee290346557af
treee46b42900a0ce4a093c1ba0c18839ea1cad435d8
parentb64767750baf0c60bf6e1631369833aa3ea7dad0
[Dominators] Update DominatorTree compare in case roots are different

The compare function, unusually, returns false on same, true on
different. This fixes the conditions for different roots.

Reviewed as a part of D41298.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@325517 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/GenericDomTree.h