summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-09-03 15:56:16 +0000
committerDan Gohman <gohman@apple.com>2008-09-03 15:56:16 +0000
commitc7367b45469467c3c886a448b59415a9bed9f365 (patch)
tree10ec3b43b355ae364669eb50cd59f09495418691 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.h
parent0eca0571f86ae7cea43a08985d7dcaa27effdbb2 (diff)
downloadbcm5719-llvm-c7367b45469467c3c886a448b59415a9bed9f365.tar.gz
bcm5719-llvm-c7367b45469467c3c886a448b59415a9bed9f365.zip
Fix addRegisterDead and addRegisterKilled to be more thorough
when searching for redundant subregister dead/kill bits. Previously it was common to see instructions marked like this: "RET %EAX<imp-use,kill>, %AX<imp-use,kill>" With this change, addRegisterKilled continues scanning after finding the %EAX operand, so it proceeds to discover the redundant %AX kill and eliminates it, producing this: "RET %EAX<imp-use,kill>" This currently has no effect on the generated code. llvm-svn: 55698
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud