[PATCH] D29280: Do not verify MachimeDominatorTree if it is not calculated
Serge Pavlov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 30 06:45:21 PST 2017
sepavloff created this revision.
If dominator tree is not calculated or is invalidated, set corresponding
pointer in the pass state to nullptr. Such pointer value will indicate
that operations with dominator tree are not allowed. In particular, it
allows to skip verification for such pass state. The dominator thee is
not calculated if the machine dominator pass was skipped, it occures in
the case of entities with linkage available_externally.
The change fixes some test fails observed when expensive checks
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3932 bytes
Desc: not available
More information about the llvm-commits