HomePhabricator

[LoopReroll] Fix reroll root legality checking.

Authored by efriedma on Feb 11 2019, 4:33 PM.

Description

[LoopReroll] Fix reroll root legality checking.

The code checked that the first root was an appropriate distance from
the base value, but skipped checking the other roots. This could lead to
rerolling a loop that can't be legally rerolled (at least, not without
rewriting the loop in a non-trivial way).

Differential Revision: https://reviews.llvm.org/D56812

llvm-svn: 353779

Details

Committed
efriedmaFeb 11 2019, 4:33 PM
Differential Revision
D56812: [LoopReroll] Fix reroll root legality checking.
Parents
rG9d0c5f9953e8: Define _ENABLE_EXTENDED_ALIGNED_STORAGE on Windows.
Branches
Unknown
Tags
Unknown