You will also need to change the SLP-vectorizer. Thanks, Nadav On Sep 6, 2013, at 10:43 AM, Rafael EspĂndola <rafael.espindola at gmail.com> wrote: >> unsigned TargetVectorRegisters = TTI.getNumberOfRegisters(true); > > And not vectorize if the target says 0? I like that idea. > > Cheers, > Rafael