llvm-6502/test/Transforms/NaryReassociate/NVPTX
Jingyue Wu 41cf9ae1b8 [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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237971 91177308-0d34-0410-b5e6-96231b3b80d8
2015-05-21 23:17:30 +00:00
..
lit.local.cfg Resurrect r235688 2015-04-24 04:22:39 +00:00
nary-gep.ll [NaryReassoc] reassociate GEP for CSE 2015-05-21 23:17:30 +00:00
nary-slsr.ll Resurrect r235688 2015-04-24 04:22:39 +00:00