I've taken the approach from the LoopInfo test:
- Rather than running in the pass manager just build the analyses manually
- Split out the common parts (makeLLVMModule, runWithDomTree) into helpers
Paths
| Differential D33617
Rearrange Dom unittest to accommodate multiple tests ClosedPublic Authored by anemet on May 26 2017, 4:57 PM.
Details Summary I've taken the approach from the LoopInfo test:
Diff Detail
Event TimelineComment Actions lgtm
This revision is now accepted and ready to land.May 26 2017, 6:43 PM Closed by commit rL304061: Rearrange Dom unittest to accommodate multiple tests (authored by anemet). · Explain WhyMay 26 2017, 9:06 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 100520 llvm/trunk/unittests/IR/DominatorTreeTest.cpp
|