]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r253042:
authordim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 11 Jul 2013 06:48:53 +0000 (06:48 +0000)
committerdim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 11 Jul 2013 06:48:53 +0000 (06:48 +0000)
commit7fe0c7b3052d881a64812d54578b2ad3b655de33
treeb8487d0cb6b178f96fab0fb1a17d625a38e7b2f9
parente2c4e68f407439a686469b6fb390cc15ef35e933
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
contrib/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp