diff options
author | Chris Lattner <sabre@nondot.org> | 2005-10-10 22:04:48 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-10-10 22:04:48 +0000 |
commit | 01a220213852223f2503f05c8bbb8b72e3c71290 (patch) | |
tree | 28677ac0d919bca47a380fec8c6abef682c642ea /lib/CodeGen/VirtRegMap.cpp | |
parent | e64dfbc10b2ea220619a7416e471184f7f8f367a (diff) |
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
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23690 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/VirtRegMap.cpp')
0 files changed, 0 insertions, 0 deletions