FastISel can only apend to basic blocks.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 4 Jul 2013 04:32:39 +0000 (04:32 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 4 Jul 2013 04:32:39 +0000 (04:32 +0000)
commit3d8560c382f6d422737e57c32737e7379fefa184
tree9c31f785d29b57aa6910a1ae83553597e49b0457
parentbbbb53262a87b2bf861b2c333270b8f50a562321
FastISel can only apend 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.

llvm-svn: 185616
llvm/lib/CodeGen/SelectionDAG/FastISel.cpp