[PATCH] D46696: [IRTests] Verify PDT instead of DT

Jakub Kuderski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 11 02:34:11 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL332086: [IRTests] Verify PDT instead of DT (authored by kuhar, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D46696?vs=146127&id=146290#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D46696

Files:
  llvm/trunk/unittests/IR/DominatorTreeBatchUpdatesTest.cpp


Index: llvm/trunk/unittests/IR/DominatorTreeBatchUpdatesTest.cpp
===================================================================
--- llvm/trunk/unittests/IR/DominatorTreeBatchUpdatesTest.cpp
+++ llvm/trunk/unittests/IR/DominatorTreeBatchUpdatesTest.cpp
@@ -101,7 +101,7 @@
   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 @@
   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");


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46696.146290.patch
Type: text/x-patch
Size: 791 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180511/b9d37ff6/attachment.bin>


More information about the llvm-commits mailing list