diff options
author | Chris Lattner <sabre@nondot.org> | 2004-02-22 07:04:00 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-02-22 07:04:00 +0000 |
commit | 3f1e8e7cebd852c1765f4a3e5ec92b484d1c4fe1 (patch) | |
tree | 886bb2139be2a6c930e29639460d9a08697a5b0b /lib/CodeGen/RegAllocLocal.cpp | |
parent | f216421181393fd3993b47960de44ad448710fb9 (diff) |
Completely rewrite how getelementptr instructions are expanded. This has two
(minor) benefits right now:
1. An extra dummy MOVrr32 is gone. This move would often be coallesced by
both allocators anyway.
2. The code now uses the gep_type_iterator to walk the gep, which should future
proof it a bit. It still assumes that array indexes are Longs though.
These don't really justify rewriting the code. The big benefit will come later
though.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11710 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegAllocLocal.cpp')
0 files changed, 0 insertions, 0 deletions