[llvm] r181397 - Fix a bug in codegenprep where it was losing track of values OptimizeMemoryInst

Dmitri Gribenko gribozavr at gmail.com
Wed May 8 05:54:14 PDT 2013


On Wed, May 8, 2013 at 12:00 PM, Nick Lewycky <nicholas at mxc.ca> wrote:
> Author: nicholas
> Date: Wed May  8 04:00:10 2013
> New Revision: 181397
>
> URL: http://llvm.org/viewvc/llvm-project?rev=181397&view=rev
> Log:
> Fix a bug in codegenprep where it was losing track of values OptimizeMemoryInst
> by switching to a ValueMap. Patch by Andrea DiBiagio!

Hi Nadav,

Should this commit go into LLVM 3.3 as well?

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