[PATCH] D34798: [Dominators] Add CFGBuilder testing utility
Jakub Kuderski via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 13 11:15:12 PDT 2017
kuhar added a comment.
Here's a real-world example of possible use of the CFGBuilder:
https://reviews.llvm.org/D35341
https://reviews.llvm.org/D35342
CFGBuilder makes it easy not only write pretty concise test cases for the new incremental DomTree API, but also to generate different permutations of update sequences using standard algorithms -- which is not really possible if we decided to do the updates manually (without a library to automatically generate IR based on CFG description).
https://reviews.llvm.org/D34798
More information about the llvm-commits
mailing list