Patch to fix PR337. Make sure to mark all aliased physical registers as used
authorChris Lattner <sabre@nondot.org>
Mon, 10 May 2004 05:12:43 +0000 (05:12 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 10 May 2004 05:12:43 +0000 (05:12 +0000)
commit6d3848df7e1f2d773ed7ae1a225944810d8510ad
treec9dd629bf51651331abe72bd71a544504ce16639
parent02eac3935949b572439c799a5a8ac334d581b42c
Patch to fix PR337.  Make sure to mark all aliased physical registers as used
when we see a read of a register.  This is important in cases like:

AL = ...
AH = ...

   = AX

The read of AX must make both the AL and AH defs live until the use.

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