Files
clang-p2996/llvm/lib/Transforms/Scalar/LoopDeletion.cpp
Nikita Popov 8f3127cdea [LoopDeletion] Don't delete loop exiting to EH pad (PR62160)
We can't branch directly to the EH pad, which is what the current
loop deletion code would try to do. We would need a different
approach here, which retains the invoke. This edge case does not
look worth bothering with.

Fixes https://github.com/llvm/llvm-project/issues/62160.
2023-04-17 15:49:05 +02:00

21 KiB