[RFC] preserving loop metadata

Redmond, Paul paul.redmond at intel.com
Wed Feb 20 12:20:36 PST 2013


Hi,

The attached patch is based on the Pekka Jääskeläinen's loop metadata work. I have refactored his work into two classes LoopMetadata and PreserveLoopMetadata.

PreserveLoopMetadata is intended to be used by LoopPasses to preserve the loop metadata after transformations. I have modified LoopRotation as an example (it is a pass which will cause the metadata to get lost) The classes is also intended to make the changes to existing passes as unobtrusive as possible.

If this seems like a reasonable approach I will add some tests and resubmit for review.

paul

-------------- next part --------------
A non-text attachment was scrubbed...
Name: preserve-loop-md.diff
Type: application/octet-stream
Size: 12102 bytes
Desc: preserve-loop-md.diff
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130220/1f32d653/attachment.obj>


More information about the llvm-commits mailing list