diff options
author | Jingyue Wu <jingyue@google.com> | 2014-05-23 18:39:40 +0000 |
---|---|---|
committer | Jingyue Wu <jingyue@google.com> | 2014-05-23 18:39:40 +0000 |
commit | bbb6e4a8854a951d6c947fc059feb643e2199639 (patch) | |
tree | f1d8b1fb5df799c543cffeb9b020aa9905992fb7 /llvm/lib/CodeGen/StackSlotColoring.cpp | |
parent | 8e30e4b9b7d6e82aa1f1def07cfba78fef6c1084 (diff) | |
download | bcm5719-llvm-bbb6e4a8854a951d6c947fc059feb643e2199639.tar.gz bcm5719-llvm-bbb6e4a8854a951d6c947fc059feb643e2199639.zip |
Add the extracted constant offset using GEP
Fixed a TODO in r207783.
Add the extracted constant offset using GEP instead of ugly
ptrtoint+add+inttoptr. Using GEP simplifies future optimizations and makes IR
easier to understand.
Updated all affected tests, and added a new test in split-gep.ll to cover a
corner case where emitting uglygep is necessary.
llvm-svn: 209537
Diffstat (limited to 'llvm/lib/CodeGen/StackSlotColoring.cpp')
0 files changed, 0 insertions, 0 deletions