commit | 32054b584b1111c4935f84f049e7520eb899679c | [log] [tgz] |
---|---|---|
author | Alexandros Lamprineas <alexandros.lamprineas@arm.com> | Wed Nov 09 08:53:07 2016 +0000 |
committer | Alexandros Lamprineas <alexandros.lamprineas@arm.com> | Wed Nov 09 08:53:07 2016 +0000 |
tree | 6e6c4780781ef377304104cda8c860093a93d0fa | |
parent | 1f641ae1c59ead4b6e600129c9d6af681450d1d3 [diff] |
[ARM] Loop Strength Reduction crashes when targeting ARM or Thumb. Scalar Evolution asserts when not all the operands of an Add Recurrence Expression are loop invariants. Loop Strength Reduction should only create affine Add Recurrences, so that both the start and the step of the expression are loop invariants. Differential Revision: https://reviews.llvm.org/D26185 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@286347 91177308-0d34-0410-b5e6-96231b3b80d8