In the PR, LoopSink was trying to sink into a catchswitch block, which doesn't have a valid insertion point.
This isn't very elegant, but should stop the bug at least.
Differential D51307
LoopSink: Don't sink into EH pads (PR38462) hans on Aug 27 2018, 7:54 AM. Authored by
Details
In the PR, LoopSink was trying to sink into a catchswitch block, which doesn't have a valid insertion point. This isn't very elegant, but should stop the bug at least.
Diff Detail Event Timeline
|
This will return true for landingpads and cleanuppads, which we can probably sink into just fine. We can limit this to catchswitches, as they are the only blocks that have no insertion point. I guess the most generic way to test would be: