Displaying 12 results from an estimated 12 matches for "foldmallocmemset".
2018 May 21
0
DSE: Remove useless stores between malloc & memset
...dead
> stores. And I know why :D There was just -instcombine pass. I forgot to do
> -dse before -instcombine so this is why I did custom "store removal" code
> there.
>
> I would like to finish malloc + llvm.memset folding. Yes, you told you
> would like to see the whole foldMallocMemset in DSE but extend it for
> llvm.memset in InstCombine... is it really so bad to do?
> We have standard malloc + memset folding there, so a few new lines
> should not do bad things.
>
> If I reopen D45344, reupload patch with removed my custom "store removal"
> code, It...
2018 May 21
2
DSE: Remove useless stores between malloc & memset
...There was just -instcombine pass. I forgot to
>> do -dse before -instcombine so this is why I did custom "store
>> removal" code there.
>>
>> I would like to finish malloc + llvm.memset folding. Yes, you
>> told you would like to see the whole foldMallocMemset in DSE but
>> extend it for llvm.memset in InstCombine... is it really so bad
>> to do?
>> We have standard malloc + memset folding there, so a few new
>> lines should not do bad things.
>>
>> If I reopen D45344, reupload patch with removed...
2018 May 17
3
DSE: Remove useless stores between malloc & memset
Hello,
I would like to find a way to do this removal properly. I found DSE and
"eliminateNoopStore" can be useful for this thing.
What I mean?
int *test = malloc(15 * sizeof(int));
test[10] = 12; < ----- remove this store
memset(test,0,sizeof(int) * 15);
I already checked the function "eliminateNoopStore".
Looks good, I think I would be to get the value ("A") we
2018 May 22
2
DSE: Remove useless stores between malloc & memset
...e was just -instcombine pass. I forgot to do
>>> -dse before -instcombine so this is why I did custom "store removal" code
>>> there.
>>>
>>> I would like to finish malloc + llvm.memset folding. Yes, you told you
>>> would like to see the whole foldMallocMemset in DSE but extend it for
>>> llvm.memset in InstCombine... is it really so bad to do?
>>> We have standard malloc + memset folding there, so a few new lines
>>> should not do bad things.
>>>
>>> If I reopen D45344, reupload patch with removed my custom...
2018 May 22
0
DSE: Remove useless stores between malloc & memset
...d I know why :D There was just -instcombine pass. I forgot to do
>> -dse before -instcombine so this is why I did custom "store removal" code
>> there.
>>
>> I would like to finish malloc + llvm.memset folding. Yes, you told you
>> would like to see the whole foldMallocMemset in DSE but extend it for
>> llvm.memset in InstCombine... is it really so bad to do?
>> We have standard malloc + memset folding there, so a few new lines
>> should not do bad things.
>>
>> If I reopen D45344, reupload patch with removed my custom "store removal...
2018 May 22
2
DSE: Remove useless stores between malloc & memset
...ine pass. I forgot to do
>>>> -dse before -instcombine so this is why I did custom "store removal" code
>>>> there.
>>>>
>>>> I would like to finish malloc + llvm.memset folding. Yes, you told you
>>>> would like to see the whole foldMallocMemset in DSE but extend it for
>>>> llvm.memset in InstCombine... is it really so bad to do?
>>>> We have standard malloc + memset folding there, so a few new lines
>>>> should not do bad things.
>>>>
>>>> If I reopen D45344, reupload patch wi...
2018 May 22
0
DSE: Remove useless stores between malloc & memset
...-instcombine so this is why I did custom "store removal"
>>> code there.
>>>
>>> I would like to finish malloc + llvm.memset folding.
>>> Yes, you told you would like to see the whole
>>> foldMallocMemset in DSE but extend it for llvm.memset in
>>> InstCombine... is it really so bad to do?
>>> We have standard malloc + memset folding there, so a
>>> few new lines should not do bad things.
>>>
>>> If I reop...
2018 May 22
0
DSE: Remove useless stores between malloc & memset
...o do
>>>>> -dse before -instcombine so this is why I did custom "store removal" code
>>>>> there.
>>>>>
>>>>> I would like to finish malloc + llvm.memset folding. Yes, you told you
>>>>> would like to see the whole foldMallocMemset in DSE but extend it for
>>>>> llvm.memset in InstCombine... is it really so bad to do?
>>>>> We have standard malloc + memset folding there, so a few new lines
>>>>> should not do bad things.
>>>>>
>>>>> If I reopen D4534...
2018 May 22
2
DSE: Remove useless stores between malloc & memset
...gt; to do -dse before -instcombine so this is why I did custom "store removal"
>>>>>> code there.
>>>>>>
>>>>>> I would like to finish malloc + llvm.memset folding. Yes, you told
>>>>>> you would like to see the whole foldMallocMemset in DSE but extend it for
>>>>>> llvm.memset in InstCombine... is it really so bad to do?
>>>>>> We have standard malloc + memset folding there, so a few new lines
>>>>>> should not do bad things.
>>>>>>
>>>>>&g...
2018 May 22
2
DSE: Remove useless stores between malloc & memset
...re.
>>>>
>>>> I would like to finish malloc +
>>>> llvm.memset folding. Yes, you told you
>>>> would like to see the whole
>>>> foldMallocMemset in DSE but extend it
>>>> for llvm.memset in InstCombine... is it
>>>> really so bad to do?
>>>> We have standard malloc +
>>>> memset fold...
2018 May 22
0
DSE: Remove useless stores between malloc & memset
...efore -instcombine so this is why I did custom "store removal"
>>>>>>> code there.
>>>>>>>
>>>>>>> I would like to finish malloc + llvm.memset folding. Yes, you told
>>>>>>> you would like to see the whole foldMallocMemset in DSE but extend it for
>>>>>>> llvm.memset in InstCombine... is it really so bad to do?
>>>>>>> We have standard malloc + memset folding there, so a few new lines
>>>>>>> should not do bad things.
>>>>>>>
>&g...
2018 May 22
0
DSE: Remove useless stores between malloc & memset
...ne so this is why I did custom "store removal"
>>>>>>>> code there.
>>>>>>>>
>>>>>>>> I would like to finish malloc + llvm.memset folding. Yes, you told
>>>>>>>> you would like to see the whole foldMallocMemset in DSE but extend it for
>>>>>>>> llvm.memset in InstCombine... is it really so bad to do?
>>>>>>>> We have standard malloc + memset folding there, so a few new
>>>>>>>> lines should not do bad things.
>>>>>>...