diff options
author | Roman Lebedev <lebedev.ri@gmail.com> | 2021-01-12 00:18:23 +0300 |
---|---|---|
committer | Roman Lebedev <lebedev.ri@gmail.com> | 2021-01-12 02:09:46 +0300 |
commit | c0de0a1b72c08783141c430b583e04e5107ebc0a (patch) | |
tree | b87b07826e3bc6f176a3601578b3431509ce2721 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | c22bc5f1f8b295674aa3a62dced8a39ad3d2aa02 (diff) | |
download | llvm-c0de0a1b72c08783141c430b583e04e5107ebc0a.zip llvm-c0de0a1b72c08783141c430b583e04e5107ebc0a.tar.gz llvm-c0de0a1b72c08783141c430b583e04e5107ebc0a.tar.bz2 |
[SimplifyCFG] SimplifyBranchOnICmpChain(): don't insert a DomTree edge that already exists
BB was already always branching to EdgeBB, there is no edge to add.
Indeed, this change does not have a test coverage change.
This failure has been exposed in an existing test coverage
by a follow-up patch that switches to lazy domtreeupdater mode,
and removes domtree verification from
SimplifyCFGOpt::simplifyOnce()/SimplifyCFGOpt::run(),
IOW it does not appear feasible to add dedicated test coverage here.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions