From 58efcd3bcdb59223d6311f25a87bdf6c016f2470 Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Tue, 20 Mar 2007 20:19:48 +0000 Subject: [PATCH] LoopSimplify::FindPHIToPartitionLoops() Use ETForest instead of DominatorSet. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35222 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Analysis/Dominators.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/llvm/Analysis/Dominators.h b/include/llvm/Analysis/Dominators.h index f29ed8345dc..1a6320fde34 100644 --- a/include/llvm/Analysis/Dominators.h +++ b/include/llvm/Analysis/Dominators.h @@ -516,6 +516,10 @@ public: } } + // dominates - Return true if A dominates B. THis performs the + // special checks necessary if A and B are in the same basic block. + bool dominates(Instruction *A, Instruction *B); + /// properlyDominates - Return true if A dominates B and A != B. /// bool properlyDominates(BasicBlock *A, BasicBlock *B) { -- 2.34.1