| commit | d825d30f429c053a7cfb62b95f28f8152923829f | [log] [tgz] |
|---|---|---|
| author | Chris Lattner <sabre@nondot.org> | Wed Feb 25 03:45:50 2004 +0000 |
| committer | Chris Lattner <sabre@nondot.org> | Wed Feb 25 03:45:50 2004 +0000 |
| tree | 07e1cac5ea5cd0a7f1461a9668bc361de5a94b8a | |
| parent | f85e33cd792e74e53163c0664172a0015f04b08e [diff] |
add an inefficient way of folding structure and constant array indexes together into a single LEA instruction. This should improve the code generated for things like X->A.B.C[12].D. The bigger benefit is still coming though. Note that this uses an LEA instruction instead of an add, giving the register allocator more freedom. We should probably never generate ADDri32's. llvm-svn: 11817