summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineDominators.cpp
diff options
context:
space:
mode:
authorJingyue Wu <jingyue@google.com>2014-05-23 18:39:40 +0000
committerJingyue Wu <jingyue@google.com>2014-05-23 18:39:40 +0000
commitbbb6e4a8854a951d6c947fc059feb643e2199639 (patch)
treef1d8b1fb5df799c543cffeb9b020aa9905992fb7 /llvm/lib/CodeGen/MachineDominators.cpp
parent8e30e4b9b7d6e82aa1f1def07cfba78fef6c1084 (diff)
downloadbcm5719-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/MachineDominators.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud