[PATCH] D90421: [IndVarSimplify][LoopUtils] Move WidenIV to Utils. NFCI.

Sjoerd Meijer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 3 05:03:26 PST 2020


SjoerdMeijer updated this revision to Diff 302547.
SjoerdMeijer added a comment.

This moves the class definition of WidenIV to LoopUtils.cpp, so that we only expose one function in LoopUtils.h: `createWideIV()`.
I have kept one little helper struct, because it is shared and most convenient just to have it there.


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

https://reviews.llvm.org/D90421

Files:
  llvm/include/llvm/Transforms/Utils/LoopUtils.h
  llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
  llvm/lib/Transforms/Utils/LoopUtils.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90421.302547.patch
Type: text/x-patch
Size: 86751 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201103/d6f673ec/attachment-0001.bin>


More information about the llvm-commits mailing list