diff options
author | Chris Lattner <sabre@nondot.org> | 2004-05-07 22:09:22 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-05-07 22:09:22 +0000 |
commit | 5f667a6f5831fb15edc4c9e140c579d326954cd8 (patch) | |
tree | 1821d26ae35cdbbb9b071c985180806e45688b33 /llvm/lib/CodeGen/RegAllocLinearScan.cpp | |
parent | 9a7b9d07f0659fc6c4054c564f2741c4b198c1fc (diff) | |
download | bcm5719-llvm-5f667a6f5831fb15edc4c9e140c579d326954cd8.tar.gz bcm5719-llvm-5f667a6f5831fb15edc4c9e140c579d326954cd8.zip |
Implement folding of GEP's like:
%tmp.0 = getelementptr [50 x sbyte]* %ar, uint 0, int 5 ; <sbyte*> [#uses=2]
%tmp.7 = getelementptr sbyte* %tmp.0, int 8 ; <sbyte*> [#uses=1]
together. This patch actually allows us to simplify and generalize the code.
llvm-svn: 13415
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocLinearScan.cpp')
0 files changed, 0 insertions, 0 deletions