summaryrefslogtreecommitdiffstats
path: root/llvm/test/Analysis/ScalarEvolution/pr40420.ll
Commit message (Collapse)AuthorAgeFilesLines
* [SCEV] Take correct loop in AddRec simplification. PR40420Max Kazantsev2019-01-291-1/+0
| | | | | | | | | | | | The code of AddRec simplification is using wrong loop when it creates a new AddRecExpr. It should be using AddRecLoop which we have saved and against which all gate checks are made, and not calling AddRec->getLoop() over and over again because AddRec may change and become an AddRecurrency from outer loop during the transform iterations. Considering this change trivial, commiting for postcommit review. llvm-svn: 352451
* [NFC] Merge failing test from PR40420Max Kazantsev2019-01-291-0/+51
llvm-svn: 352450
OpenPOWER on IntegriCloud