commit | ead06be02fe6b9a2bf6fbe04237c1276ed0cdb5c | [log] [tgz] |
---|---|---|
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | Thu Jun 03 00:07:47 2010 +0000 |
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | Thu Jun 03 00:07:47 2010 +0000 |
tree | e5d50ff62a4d61d3718f95aeb23ffb752f0d6da1 | |
parent | 02571a3a1f2b446cbef29761ebe50bde400621fc [diff] |
Use readsWritesVirtualRegister instead of counting uses and defs when inserting spills and reloads. This means that a partial define of a register causes a reload so the other parts of the register are preserved. The reload can be prevented by adding an <imp-def> operand for the full register. This is already done by the coalescer and live interval analysis where relevant. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105369 91177308-0d34-0410-b5e6-96231b3b80d8