Dear all, What is the default loop-unroll factor in llvm? How can we specify our own unroll-factor? -Suresh
Suresh, On Jun 15, 2011, at 9:13 PM, Suresh Purini wrote:> Dear all, > > What is the default loop-unroll factor in llvm? How can we specify > our own unroll-factor?Here "we" means end user or a compiler developer ? The threshold is 150, see LoopUnrollPass.cpp - Devang
Devang, I meant as an end user. -Suresh On Thu, Jun 16, 2011 at 11:00 PM, Devang Patel <dpatel at apple.com> wrote:> Suresh, > > > On Jun 15, 2011, at 9:13 PM, Suresh Purini wrote: > >> Dear all, >> >> What is the default loop-unroll factor in llvm? How can we specify >> our own unroll-factor? > > Here "we" means end user or a compiler developer ? > The threshold is 150, see LoopUnrollPass.cpp > > - > Devang > >