OSDN Git Service

Make findLastUseBefore handle reg-unit liveness.
authorLang Hames <lhames@gmail.com>
Wed, 12 Sep 2012 06:56:16 +0000 (06:56 +0000)
committerLang Hames <lhames@gmail.com>
Wed, 12 Sep 2012 06:56:16 +0000 (06:56 +0000)
commit6d742cc61eb9c933a36f0bc96631fae95c6d3d2e
treee6ebfe7757833b63035417819b4d268033af107a
parent7c02284774905cc589302d32bbba2be833f261e9
Make findLastUseBefore handle reg-unit liveness.

findLastUseBefore was previous considering virtreg liveness only, leading to
incorrect live intervals for reg units when instrs with physreg operands were
moved up.

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