aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
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 /clang/lib/Frontend/CompilerInvocation.cpp
parentabc3984149ed4393620179a0770e56d6247539ee (diff)
downloadllvm-4fc97f6df87b360ec95cef9b0e60f3269710e1de.zip
llvm-4fc97f6df87b360ec95cef9b0e60f3269710e1de.tar.gz
llvm-4fc97f6df87b360ec95cef9b0e60f3269710e1de.tar.bz2
[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 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions