DAGCombiner: Merge store/loads when we have extload/truncstores
Arnold Schwaighofer
aschwaighofer at apple.com
Tue Apr 2 09:00:13 PDT 2013
r178546
Thanks
f
On Apr 2, 2013, at 10:42 AM, Nadav Rotem <nrotem at apple.com> wrote:
> LGTM.
>
> On Apr 2, 2013, at 8:28 AM, Arnold Schwaighofer <aschwaighofer at apple.com> wrote:
>
>> DAGCombiner: Merge store/loads when we have extload/truncstores
>>
>> This is helps on architectures where i8,i16 are not legal but we have byte,
>> and short loads/stores like on ARM.
>>
>> Allowing us to merge copies like the one below on ARM.
>>
>> copy(char *a, char *b, int n) {
>> do {
>> int t0 = a[0];
>> int t1 = a[1];
>> b[0] = t0;
>> b[1] = t1;
>>
>> radar://13536387
>>
>> <0001-DAGCombiner-Merge-store-loads-when-we-have-extload-t.patch>
More information about the llvm-commits
mailing list