[RFC] preserving loop metadata

Nadav Rotem nrotem at apple.com
Wed Feb 20 13:04:01 PST 2013


Hi Paul,
 
This approach makes sense to me. I like the use of RAII.

Thanks,
Nadav

On Feb 20, 2013, at 12:20 PM, "Redmond, Paul" <paul.redmond at intel.com> wrote:

> 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
> 
> <preserve-loop-md.diff>_______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits





More information about the llvm-commits mailing list