When computing live intervals for earlyclobber operands,
authorDale Johannesen <dalej@apple.com>
Sun, 20 Sep 2009 00:36:41 +0000 (00:36 +0000)
committerDale Johannesen <dalej@apple.com>
Sun, 20 Sep 2009 00:36:41 +0000 (00:36 +0000)
commit39faac2531268b8555475796c6071556670dc290
tree5dca35353d7f4ec387035c3657730e46cb31ce0d
parentba11229f52743ac70f01d4f62d1e04dd093de4e0
When computing live intervals for earlyclobber operands,
we pushed the beginning of the interval back 1, so the
interval would overlap with inputs that die.  We were
also pushing the end of the interval back 1, though,
which means the earlyclobber didn't overlap with other
output operands.  Don't do this.  PR 4964.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82342 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/LiveIntervalAnalysis.cpp
test/CodeGen/X86/2009-09-19-earlyclobber.ll [new file with mode: 0644]