diff options
author | Roman Lebedev <lebedev.ri@gmail.com> | 2021-01-28 13:02:22 +0300 |
---|---|---|
committer | Roman Lebedev <lebedev.ri@gmail.com> | 2021-01-28 14:11:34 +0300 |
commit | 8cfa963463d09cd4213a647f3587389612e3dd16 (patch) | |
tree | 6229d3dc3df4ac2201d078221edc50bfe27818b6 /llvm/lib/Support/MemoryBuffer.cpp | |
parent | d0c9fb1b8ebf50ea8b489354b946da961a384c8b (diff) | |
download | llvm-8cfa963463d09cd4213a647f3587389612e3dd16.zip llvm-8cfa963463d09cd4213a647f3587389612e3dd16.tar.gz llvm-8cfa963463d09cd4213a647f3587389612e3dd16.tar.bz2 |
[SimplifyCFG] If provided, preserve Dominator Tree
SimplifyCFG is an utility pass, and the fact that it does not
preserve DomTree's, forces it's users to somehow workaround that,
likely by not preserving DomTrees's themselves.
Indeed, simplifycfg pass didn't know how to preserve dominator tree,
it took me just under a month (starting with e1133179587dd895962a2fe4d6eb0cb1e63b5ee2)
do rectify that, now it fully knows how to,
there's likely some problems with that still,
but i've dealt with everything i can spot so far.
I think we now can flip the switch.
Note that this is functionally an NFC change,
since this doesn't change the users to pass in the DomTree,
that is a separate question.
Reviewed By: kuhar, nikic
Differential Revision: https://reviews.llvm.org/D94827
Diffstat (limited to 'llvm/lib/Support/MemoryBuffer.cpp')
0 files changed, 0 insertions, 0 deletions