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

Nick Lewycky nicholas at mxc.ca
Fri May 10 10:20:51 PDT 2013


Nadav Rotem wrote:
> Nick, What do you think ?

I think it should. It's a low-risk fix to a memory corruption bug.

Nick

> On May 8, 2013, at 5:54 AM, Dmitri Gribenko <gribozavr at gmail.com
> <mailto:gribozavr at gmail.com>> wrote:
>
>> On Wed, May 8, 2013 at 12:00 PM, Nick Lewycky <nicholas at mxc.ca
>> <mailto: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
>>> <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
>> <mailto:gribozavr at gmail.com>>*/
>




More information about the llvm-commits mailing list