Skip to content
Commit d3c9d971 authored by Bill Wendling's avatar Bill Wendling
Browse files

If we are extracting a basic block that ends in an invoke call, we must also

extract the landing pad block. Otherwise, there will be a situation where the
invoke's unwind edge lands on a non-landing pad.

We also forbid the user from extracting the landing pad block by itself. Again,
this is not a valid transformation.

llvm-svn: 140083
parent f5028fd1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment