llvm.org GIT mirror llvm / 4ced77c
[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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@332086 91177308-0d34-0410-b5e6-96231b3b80d8 Jakub Kuderski 1 year, 5 months ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
100100 DominatorTree DT(*Holder.F);
101101 EXPECT_TRUE(DT.verify());
102102 PostDomTree PDT(*Holder.F);
103 EXPECT_TRUE(DT.verify());
103 EXPECT_TRUE(PDT.verify());
104104
105105 BasicBlock *B = Builder.getOrAddBlock("B");
106106 BasicBlock *C = Builder.getOrAddBlock("C");
122122 DominatorTree DT(*Holder.F);
123123 EXPECT_TRUE(DT.verify());
124124 PostDomTree PDT(*Holder.F);
125 EXPECT_TRUE(DT.verify());
125 EXPECT_TRUE(PDT.verify());
126126
127127 BasicBlock *B = Builder.getOrAddBlock("B");
128128 BasicBlock *C = Builder.getOrAddBlock("C");