aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-10-26 18:26:18 +0000
committerDan Gohman <gohman@apple.com>2009-10-26 18:26:18 +0000
commit91203cf87b8a72227c78a9eeae8bb744dfcc4ef0 (patch)
treecc1974fb3bf806f76a1ae6a9d6448417934556d0 /lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
parentbe9e7636977175d8e5a1d9b7263b1205f3e7d649 (diff)
When checking whether a def of an aliased register is dead, ask the
machineinstr whether the aliased register is dead, rather than the original register is dead. This allows it to get the correct answer when examining an instruction like this: CALLpcrel32 <ga:foo>, %AL<imp-def>, %EAX<imp-def,dead> where EAX is dead but a subregister of it is still live. This fixes PR5294. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85135 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp')
0 files changed, 0 insertions, 0 deletions