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

Nadav Rotem nrotem at apple.com
Wed May 8 09:27:23 PDT 2013


Nick,  What do you think ?

On May 8, 2013, at 5:54 AM, Dmitri Gribenko <gribozavr at gmail.com> wrote:

> 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>*/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130508/32a16456/attachment.html>


More information about the llvm-commits mailing list