diff options
author | Chris Lattner <sabre@nondot.org> | 2006-01-11 19:55:07 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-01-11 19:55:07 +0000 |
commit | a243db8c41bd8ace6e002c9e1fdcdc7256ebf677 (patch) | |
tree | 9c57d4e7743da3c3c5be79adaf6e850e0f0b81ff /lib/CodeGen/SelectionDAG/SelectionDAG.cpp | |
parent | 6232d7d1f47677bda10f3b73ccc99171793fb78e (diff) |
Fix calls that need to store values in stack slots, to not copy the stack
pointer. This allows us to emit stuff like this:
li r10, 0
stw r10, 56(r1)
or r3, r10, r10
or r4, r10, r10
or r5, r10, r10
or r6, r10, r10
or r7, r10, r10
or r8, r10, r10
or r9, r10, r10
bl L_bar$stub
instead of this:
or r2, r1, r1 ;; Extraneous copy.
li r10, 0
stw r10, 56(r2)
or r3, r10, r10
or r4, r10, r10
or r5, r10, r10
or r6, r10, r10
or r7, r10, r10
or r8, r10, r10
or r9, r10, r10
bl L_bar$stub
wowness.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25221 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
0 files changed, 0 insertions, 0 deletions