diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-11-10 00:17:03 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-11-10 00:17:03 +0000 |
commit | 17afb0664861507c9bd968f1678d8cca69b2851d (patch) | |
tree | 6a8e639d87cc0f83d2d178d81186a0230b717077 /utils/Misc | |
parent | 1ad1246bbc48aa27e00c413cefffd88654a910df (diff) | |
download | external_llvm-17afb0664861507c9bd968f1678d8cca69b2851d.zip external_llvm-17afb0664861507c9bd968f1678d8cca69b2851d.tar.gz external_llvm-17afb0664861507c9bd968f1678d8cca69b2851d.tar.bz2 |
Strip old implicit operands after foldMemoryOperand.
The TII.foldMemoryOperand hook preserves implicit operands from the
original instruction. This is not what we want when those implicit
operands refer to the register being spilled.
Implicit operands referring to other registers are preserved.
This fixes PR11347.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144247 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/Misc')
0 files changed, 0 insertions, 0 deletions