diff options
Diffstat (limited to 'llvm/unittests/Transforms/Utils/LocalTest.cpp')
-rw-r--r-- | llvm/unittests/Transforms/Utils/LocalTest.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/llvm/unittests/Transforms/Utils/LocalTest.cpp b/llvm/unittests/Transforms/Utils/LocalTest.cpp index 9dc920d0938..3868bfb09a5 100644 --- a/llvm/unittests/Transforms/Utils/LocalTest.cpp +++ b/llvm/unittests/Transforms/Utils/LocalTest.cpp @@ -222,10 +222,12 @@ TEST(Local, MergeBasicBlockIntoOnlyPred) { if (Term && !Term->isConditional()) MergeBasicBlockIntoOnlyPred(BB, &DTU); } - if (DTU.hasDomTree()) + if (DTU.hasDomTree()) { EXPECT_TRUE(DTU.getDomTree().verify()); - if (DTU.hasPostDomTree()) + } + if (DTU.hasPostDomTree()) { EXPECT_TRUE(DTU.getPostDomTree().verify()); + } }; // Test MergeBasicBlockIntoOnlyPred working under Eager UpdateStrategy with |