[PATCH] [LoopReroll] Refactor most of reroll() into a helper class

James Molloy james.molloy at arm.com
Tue Jan 27 07:18:10 PST 2015


Hi hfinkel,

reroll() was slightly monolithic and a pain to modify. Refactor a bunch of its state from local variables to member variables of a helper class, and do some trivial simplification while we're there.

This should set the scene for some changes to the Scale/Root model to make it catch more cases.

REPOSITORY
  rL LLVM

http://reviews.llvm.org/D7197

Files:
  lib/Transforms/Scalar/LoopRerollPass.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7197.18815.patch
Type: text/x-patch
Size: 28128 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150127/bb102568/attachment.bin>


More information about the llvm-commits mailing list