Skip to content
Commit 9f92f4c4 authored by David Majnemer's avatar David Majnemer
Browse files

[SimplifyCFG] Remove cleanuppads which are empty except for calls to lifetime.end

A cleanuppad is not cheap, they turn into many instructions and result
in additional spills and fills.  It is not worth keeping a cleanuppad
around if all it does is hold a lifetime.end instruction.

N.B.  We first try to merge the cleanuppad with another cleanuppad to
avoid dropping the lifetime and debug info markers.

llvm-svn: 270314
parent 73f48f46
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment