Keep track of phi join registers explicitly in LiveVariables.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 23 Feb 2010 22:43:58 +0000 (22:43 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 23 Feb 2010 22:43:58 +0000 (22:43 +0000)
commitdcfe5f30b5e262971f601a65bebcc0367fef56c5
treedb54351e744e003a9572e503b6b394cf60a99ac5
parent01be611b8223c80305c7c1ce5d9bd578abc844ed
Keep track of phi join registers explicitly in LiveVariables.

Previously, LiveIntervalAnalysis would infer phi joins by looking for multiply
defined registers. That doesn't work if the phi join is implicitly defined in
all but one of the predecessors.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96994 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/LiveVariables.h
lib/CodeGen/LiveIntervalAnalysis.cpp
lib/CodeGen/LiveVariables.cpp
lib/CodeGen/PHIElimination.cpp
test/CodeGen/X86/2010-02-23-SingleDefPhiJoin.ll [new file with mode: 0644]