summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorJingyue Wu <jingyue@google.com>2015-05-21 23:17:30 +0000
committerJingyue Wu <jingyue@google.com>2015-05-21 23:17:30 +0000
commit4fc97f6df87b360ec95cef9b0e60f3269710e1de (patch)
treed6b707136d345a15db747987adee1c74e1c84082 /llvm/lib/Target
parentabc3984149ed4393620179a0770e56d6247539ee (diff)
downloadbcm5719-llvm-4fc97f6df87b360ec95cef9b0e60f3269710e1de.tar.gz
bcm5719-llvm-4fc97f6df87b360ec95cef9b0e60f3269710e1de.zip
[NaryReassoc] reassociate GEP for CSE
Summary: x = &a[i]; y = &a[i + j]; => y = x + j; along with some refactoring work such as extracting method findClosestMatchingDominator. Depends on D9786 which provides the ScalarEvolution::getGEPExpr interface. Test Plan: nary-gep.ll Reviewers: meheff, broune Reviewed By: broune Subscribers: jholewinski, llvm-commits Differential Revision: http://reviews.llvm.org/D9802 llvm-svn: 237971
Diffstat (limited to 'llvm/lib/Target')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud