diff --git a/llvm/include/llvm/Support/GenericDomTree.h b/llvm/include/llvm/Support/GenericDomTree.h index 4fce9d8bfb2b6..91dd58f1b6087 100644 --- a/llvm/include/llvm/Support/GenericDomTree.h +++ b/llvm/include/llvm/Support/GenericDomTree.h @@ -328,6 +328,8 @@ class DominatorTreeBase { /// bool isPostDominator() const { return IsPostDominator; } + bool isDFSInfoValid() const { return DFSInfoValid; } + /// compare - Return false if the other dominator tree base matches this /// dominator tree base. Otherwise return true. bool compare(const DominatorTreeBase &Other) const {