[llvm] r205409 - Remove duplicated DMB instructions

Renato Golin renato.golin at linaro.org
Mon Jun 2 09:26:48 PDT 2014


Hi Yi,

This was a research done by Reinoud on C11 atomics, maybe he could
extend the work to other barriers.

He also had other interesting ideas about de-duplicating DMBs, if
you're interested.

cheers,
--renato

On 2 June 2014 16:51, Yi Kong <kongy.dev at gmail.com> wrote:
>
> Renato Golin <renato.golin at ...> writes:
>>
>> Author: rengolin
>> Date: Wed Apr  2 04:03:43 2014
>> New Revision: 205409
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=205409&view=rev
>> Log:
>> Remove duplicated DMB instructions
>>
>> ARM specific optimiztion, finding places in ARM machine code where 2 dmbs
>> follow one another, and eliminating one of them.
>>
>> Patch by Reinoud Elhorst.
>
> I suppose this optimization also applies to DSBs? Also consecutive ISBs
> should be able to be merged as well?
>
> -Yi
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits



More information about the llvm-commits mailing list