aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-10-10 22:04:48 +0000
committerChris Lattner <sabre@nondot.org>2005-10-10 22:04:48 +0000
commite260ed8628bbe245ffc39b130d121f2f50dc0bce (patch)
tree77733604834b1cb73b690698d794ce0365a511bd /llvm/lib/CodeGen/MachineFunction.cpp
parent89a39f15089f7ba9b1a8ee698aa89a6b7d15a4cd (diff)
downloadllvm-e260ed8628bbe245ffc39b130d121f2f50dc0bce.zip
llvm-e260ed8628bbe245ffc39b130d121f2f50dc0bce.tar.gz
llvm-e260ed8628bbe245ffc39b130d121f2f50dc0bce.tar.bz2
Add support for CombineTo, allowing the dag combiner to replace nodes with
multiple results. Use this support to implement trivial store->load forwarding, implementing CodeGen/PowerPC/store-load-fwd.ll. Though this is the most simple case and can be extended in the future, it is still useful. For example, it speeds up 197.parser by 6.2% by avoiding an LSU reject in xalloc: stw r6, lo16(l5_end_of_array)(r2) addi r2, r5, -4 stwx r5, r4, r2 - lwzx r5, r4, r2 - rlwinm r5, r5, 0, 0, 30 stwx r5, r4, r2 lwz r2, -4(r4) ori r2, r2, 1 llvm-svn: 23690
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions