Correctly compute live variable information for physical registers
authorAlkis Evlogimenos <alkis@evlogimenos.com>
Tue, 13 Jan 2004 06:24:30 +0000 (06:24 +0000)
committerAlkis Evlogimenos <alkis@evlogimenos.com>
Tue, 13 Jan 2004 06:24:30 +0000 (06:24 +0000)
commit19b6486d3891c8a02a301aa1b44348a420772fcf
tree24d3df471babfce8ed1f740c12a0280b6fab0d9f
parent504e8fb74e4eec97a2ee1c195026824468cb6f7f
Correctly compute live variable information for physical registers
when an implicitely defined register is later used by an alias. For example:

         call foo
         %reg1024 = mov %AL

The call implicitely defines EAX but only AL is used. Before this fix
no information was available on AL. Now EAX and all its aliases except
AL get defined and die at the call instruction whereas AL lives to be
killed by the assignment.

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