diff options
author | Jim Grosbach <grosbach@apple.com> | 2011-01-13 19:16:48 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2011-01-13 19:16:48 +0000 |
commit | 4424e7c4b8620ee2a6a114353aeafecb1d279984 (patch) | |
tree | 3a0c51569ff6fbd9053394a40f7d866147a6dfc9 /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | 0ff0b3762766d4e2d13a76cd9dea080195b73a5d (diff) | |
download | llvm-4424e7c4b8620ee2a6a114353aeafecb1d279984.zip llvm-4424e7c4b8620ee2a6a114353aeafecb1d279984.tar.gz llvm-4424e7c4b8620ee2a6a114353aeafecb1d279984.tar.bz2 |
When updating a tSpill/tRestore instruction to be a tSTRr/tLDRr, correctly
set up the source operands. The original instr has an immediate operand that
should be replaced with the frame reg operand rather than just adding the
reg operand. Previously, the instruction ended up with too many operands
causing an assert() when adding the default predicate. rdar://8825456
llvm-svn: 123387
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions