MFC r253042:
Pull in r185616 from llvm trunk:
FastISel can only append to basic blocks.
Compute the insertion point from the end of the basic block instead of
skipping labels from the front.
This caused failures in landing pads when live-in copies where inserted
before instruction selection.
I missed this change in r252720; without it, certain compilation flags
can cause exception labels to not be generated, but still referenced,
leading to link errors.
Reported by: zeising
git-svn-id: svn://svn.freebsd.org/base/stable/9@253192
ccf9f872-aa2e-dd11-9fc8-
001c23d0bc1f