aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/InitPreprocessor.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2022-10-19 22:11:18 -0700
committerMatt Arsenault <arsenm2@gmail.com>2022-10-28 17:07:26 -0700
commitf02bc70c7d53e5898abddc83f249ef28b8b4b9b6 (patch)
treee8dc2ed7aa2b612ffb04f2bff440bb1fe0d24d0b /clang/lib/Frontend/InitPreprocessor.cpp
parent45a91c1521b243b728d4ce69f8d19a449627d251 (diff)
downloadllvm-f02bc70c7d53e5898abddc83f249ef28b8b4b9b6.zip
llvm-f02bc70c7d53e5898abddc83f249ef28b8b4b9b6.tar.gz
llvm-f02bc70c7d53e5898abddc83f249ef28b8b4b9b6.tar.bz2
llvm-reduce: Fix producing invalid reductions with landingpads
It's not valid to simply branch to a landingpad block, so it needs to be removed. Also stop trying to scan forward to find a block that can be merged. The predecessor merge rules are more complex than this. This also would need to have considered landingpads. Just do the minimum to delete the block, and let the simplify-cfg reduction handle the branch chain cleanups.
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions