commit | 1e3aeefc088db2fe32958eb17f46e60011d34949 | [log] [tgz] |
---|---|---|
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | Fri Sep 03 18:36:56 2010 +0000 |
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | Fri Sep 03 18:36:56 2010 +0000 |
tree | c931ba75d7b4089516142d56d4f060c01ad52e6d | |
parent | 82de2e1a2409689f3ae5171a72ee0049e37dfe4c [diff] |
VirtRegRewriter checks for early clobbers before it reuses an available stack slot. Teach it to also check for early clobbered aliases, and early clobber operands following the current operand. This fixes the miscompilation in PR8044 where EC registers eax and ecx were being used for inputs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112988 91177308-0d34-0410-b5e6-96231b3b80d8