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)
commitef22e0e0b583e727f01ae70d51a143172eb31814
treeb900c43f1dc4b993ac885c3959827733efc9fb62
parentc982e14458ab098dcc08da5a3e8a88f07018dfbd
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185616 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/FastISel.cpp