[PATCH] [LoopReroll] Alter the data structures used during reroll validation.

James Molloy james.molloy at arm.com
Thu Jan 29 11:36:15 PST 2015


Hi hfinkel,

The validation algorithm used an incremental approach, building each
iteration's data structures temporarily, validating them, then
adding them to a global set.

This does not scale well to having multiple sets of Root nodes, as the
set of instructions used in each iteration is the union over all
the root nodes. Therefore, refactor the logic to create a single, simple
container to which later logic then refers. This makes it simpler
control-flow wise to make the creation of the container more complex with
the addition of multiple root sets.

REPOSITORY
  rL LLVM

http://reviews.llvm.org/D7260

Files:
  lib/Transforms/Scalar/LoopRerollPass.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7260.18970.patch
Type: text/x-patch
Size: 20242 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150129/e7b2c889/attachment.bin>


More information about the llvm-commits mailing list