diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-01-17 02:08:17 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-01-17 02:08:17 +0000 |
commit | 839b759c38182af8d151db10923c2a6cc7dd5b3d (patch) | |
tree | 1e38bedc3e83b3574831305d8e6934e7610e742b /lib/CodeGen/SelectionDAG/LegalizeTypesPromote.cpp | |
parent | ab04e13a1f017c2b0a82344b4c083d92139ee2cc (diff) |
When a live virtual register is being clobbered by an implicit def, it is spilled
and the spill is its kill. However, if the local allocator has determined the
register has not been modified (possible when its value was reloaded), it would
not issue a restore. In that case, mark the last use of the virtual register as
kill.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46111 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/LegalizeTypesPromote.cpp')
0 files changed, 0 insertions, 0 deletions