forked from OSchip/llvm-project
[IRTests] Verify PDT instead of DT
Summary: Fix two typos which result in verifying wrong data structures (DT) instead of PDT in DominatorTreeBatchUpdatesTest. Reviewers: davide, kuhar, grosser, dberlin Reviewed By: davide, kuhar, dberlin Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D46696 llvm-svn: 332086
This commit is contained in:
parent
4c9ae67bb7
commit
0cbc1b0de4
|
@ -101,7 +101,7 @@ TEST(DominatorTreeBatchUpdates, SingleInsertion) {
|
|||
DominatorTree DT(*Holder.F);
|
||||
EXPECT_TRUE(DT.verify());
|
||||
PostDomTree PDT(*Holder.F);
|
||||
EXPECT_TRUE(DT.verify());
|
||||
EXPECT_TRUE(PDT.verify());
|
||||
|
||||
BasicBlock *B = Builder.getOrAddBlock("B");
|
||||
BasicBlock *C = Builder.getOrAddBlock("C");
|
||||
|
@ -123,7 +123,7 @@ TEST(DominatorTreeBatchUpdates, SingleDeletion) {
|
|||
DominatorTree DT(*Holder.F);
|
||||
EXPECT_TRUE(DT.verify());
|
||||
PostDomTree PDT(*Holder.F);
|
||||
EXPECT_TRUE(DT.verify());
|
||||
EXPECT_TRUE(PDT.verify());
|
||||
|
||||
BasicBlock *B = Builder.getOrAddBlock("B");
|
||||
BasicBlock *C = Builder.getOrAddBlock("C");
|
||||
|
|
Loading…
Reference in New Issue