aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/PHIElimination.cpp
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2011-01-13 19:16:48 +0000
committerJim Grosbach <grosbach@apple.com>2011-01-13 19:16:48 +0000
commit5f3e2be7c941b26ac865fa00c3f314bcd1e6cec8 (patch)
treec59afd9762917ce686b2b171d440ea55bfbbe76b /lib/CodeGen/PHIElimination.cpp
parent64f865ceca4cdd39fcac3d958071be118cb9c1d3 (diff)
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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123387 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/PHIElimination.cpp')
0 files changed, 0 insertions, 0 deletions