summaryrefslogtreecommitdiff
path: root/lib/Bitcode/Reader
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
commit8d959dd5638cdc556c736637e78639a3ccf074fc (patch)
treed04ef8acd2a0d3019185114ad91f582d0cecfafe /lib/Bitcode/Reader
parentbb75e24528a4bdb3030787640e4d5adb7cdfc476 (diff)
downloadllvm-8d959dd5638cdc556c736637e78639a3ccf074fc.tar.gz
llvm-8d959dd5638cdc556c736637e78639a3ccf074fc.tar.bz2
llvm-8d959dd5638cdc556c736637e78639a3ccf074fc.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209537 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Reader')
0 files changed, 0 insertions, 0 deletions