[PATCH] D111681: [IVUsers] Move preheader check into SCEVExpander

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 13 09:09:45 PDT 2021


nikic updated this revision to Diff 379430.
nikic added a comment.

Make the check more precise: We can expand affine addrecs in canonical mode without a preheader. This addresses the PowerPC test failure.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D111681/new/

https://reviews.llvm.org/D111681

Files:
  llvm/include/llvm/Analysis/IVUsers.h
  llvm/include/llvm/Transforms/Utils/ScalarEvolutionExpander.h
  llvm/lib/Analysis/IVUsers.cpp
  llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
  llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111681.379430.patch
Type: text/x-patch
Size: 8509 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211013/4c26c172/attachment.bin>


More information about the llvm-commits mailing list