diff options
author | Eli Friedman <efriedma@quicinc.com> | 2019-02-12 00:33:25 +0000 |
---|---|---|
committer | Eli Friedman <efriedma@quicinc.com> | 2019-02-12 00:33:25 +0000 |
commit | 806136f8ef1cc440df2a1387187303fa080fd001 (patch) | |
tree | f477c548adc43ea868b5ec63f14488e0af94ba4b /llvm/lib/Transforms/Utils/BasicBlockUtils.cpp | |
parent | 9d0c5f9953e85983371bd85504b539b05555dd50 (diff) | |
download | llvm-806136f8ef1cc440df2a1387187303fa080fd001.zip llvm-806136f8ef1cc440df2a1387187303fa080fd001.tar.gz llvm-806136f8ef1cc440df2a1387187303fa080fd001.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/Transforms/Utils/BasicBlockUtils.cpp')
0 files changed, 0 insertions, 0 deletions