HomePhabricator

[ARM] Loop Strength Reduction crashes when targeting ARM or Thumb.

Authored by labrinea on Nov 9 2016, 12:53 AM.

Description

[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

llvm-svn: 286347

Details

Committed
labrineaNov 9 2016, 12:53 AM
Differential Revision
D26185: [ARM] Loop Strength Reduction crashes when targeting ARM or Thumb.
Parents
rG8530137de557: Pacify lint check
Branches
Unknown
Tags
Unknown