[llvm-commits] [PATCH/RFC] Loop Data Software Prefetching

Nadav Rotem nrotem at apple.com
Wed Jan 30 23:25:35 PST 2013


> 
> To be honest, I think that this is kind of silly. Some target-provided parameters are fixed properties of the target, and so no user-level customization needs to be provided. Other things, however, like whether to use software prefetching, the prefetching distance, etc. are just heuristic inputs, and we need to provide the ability for the user to override them.

In that case it needs to be a command line flag of the prefetcher pass. Just like the loop-unrolling pass exposes the unrolling threshold. We don't want to override every property of the target machine using command line flags. 



More information about the llvm-commits mailing list