[llvm-commits] [llvm] r168142 - /llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp

Dmitri Gribenko gribozavr at gmail.com
Fri Nov 16 04:50:51 PST 2012


On Fri, Nov 16, 2012 at 8:51 AM, Nadav Rotem <nrotem at apple.com> wrote:
> Author: nadav
> Date: Fri Nov 16 00:51:17 2012
> New Revision: 168142
>
> URL: http://llvm.org/viewvc/llvm-project?rev=168142&view=rev
> Log:
> LoopVectorize: Division reductions generate incorrect code. Remove the part of the code that deals with divs.
> Thanks to Paul Redmond for catching this while reviewing the code.

Hi Nadav,

Should this go into 3.2, too?

Dmitri

-- 
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/



More information about the llvm-commits mailing list