mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
[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
82f61e1f97
commit
eaa14c9d93
@ -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
Block a user