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.
Paths
| Differential D9802
[NaryReassoc] reassociate GEP for CSE ClosedPublic Authored by jingyue on May 15 2015, 3:46 PM.
Details Summary x = &a[i]; >y = x + j; along with some refactoring work such as extracting method Depends on D9786 which provides the ScalarEvolution::getGEPExpr interface.
Diff Detail Event Timelinejingyue updated this object.
This revision is now accepted and ready to land.May 20 2015, 10:49 PM
Revision Contents
Diff 26119 lib/Transforms/Scalar/NaryReassociate.cpp
test/Transforms/NaryReassociate/NVPTX/nary-gep.ll
|
sss -> ss in reasssociates.