aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorRoman Lebedev <lebedev.ri@gmail.com>2021-01-11 16:01:57 +0300
committerRoman Lebedev <lebedev.ri@gmail.com>2021-01-12 02:09:46 +0300
commitc22bc5f1f8b295674aa3a62dced8a39ad3d2aa02 (patch)
tree70893f4b6a1935be987744ca643ce921a1e378e5 /clang/lib/Frontend/CompilerInvocation.cpp
parent278a3ea1b27089dbc7060e02f612c8a3bf137bb2 (diff)
downloadllvm-c22bc5f1f8b295674aa3a62dced8a39ad3d2aa02.zip
llvm-c22bc5f1f8b295674aa3a62dced8a39ad3d2aa02.tar.gz
llvm-c22bc5f1f8b295674aa3a62dced8a39ad3d2aa02.tar.bz2
[SimplifyCFG] SwitchToLookupTable(): don't insert a DomTree edge that already exists
SI is the terminator of BB, so the edge we are adding obviously already existed. 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