[LLVMdev] addRequired(), Loop Unrolling
Devang Patel
devang.patel at gmail.com
Mon Jun 8 10:19:19 PDT 2009
On Sat, Jun 6, 2009 at 8:38 AM, Rotem Varon<varonrotem at gmail.com> wrote:
> Hi,
>
> I am trying to set loop unrolling as a required pass.
> AU.addRequired<LoopUnroll>();
In general, it is good idea to schedule loop unrolling pass (using
PassManager.add()) at the appropriate place in your optimization
queue. AnalysisUsage.addRequired() is best suited for analysis not
transformations.
> should I include any header file?
> How can I be possessive that "LoopUnroll" is the name I need ?
?
-
Devang
More information about the llvm-dev
mailing list