commit | 4cf108a0bbbe0ae4089c48e4a2ddd2225813ee15 | [log] [tgz] |
---|---|---|
author | Serguei Katkov <serguei.katkov@azul.com> | Mon Mar 19 06:35:30 2018 +0000 |
committer | Serguei Katkov <serguei.katkov@azul.com> | Mon Mar 19 06:35:30 2018 +0000 |
tree | 25fe5055d0db2d8def54ce798a08b8ad8db8b298 | |
parent | be522c69dea6bc7fcc3d478b94449260a5b33b42 [diff] |
[SCEV] Re-land: Fix isKnownPredicate This is re-land of https://reviews.llvm.org/rL327362 with a fix and regression test. The crash was due to it is possible that for found MDL loop, LHS or RHS may contain an invariant unknown SCEV which does not dominate the MDL. Please see regression test for an example. Reviewers: sanjoy, mkazantsev, reames Reviewed By: mkazantsev Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D44553 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@327822 91177308-0d34-0410-b5e6-96231b3b80d8