[PATCH] D33617: Rearrange Dom unittest to accommodate multiple tests

Adam Nemet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 26 16:57:20 PDT 2017


anemet created this revision.

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


https://reviews.llvm.org/D33617

Files:
  unittests/IR/DominatorTreeTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33617.100504.patch
Type: text/x-patch
Size: 16727 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170526/5a7b08c7/attachment.bin>


More information about the llvm-commits mailing list