[llvm] r244448 - Prevent the scalarizer from caching incorrect entries
Hans Wennborg via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 14 11:28:38 PDT 2015
On Tue, Aug 11, 2015 at 9:42 AM, Hans Wennborg <hans at chromium.org> wrote:
> On Mon, Aug 10, 2015 at 7:48 AM, Fraser Cormack via llvm-commits
> <llvm-commits at lists.llvm.org> wrote:
>> Author: fcormack
>> Date: Mon Aug 10 09:48:47 2015
>> New Revision: 244448
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=244448&view=rev
>> Log:
>> Prevent the scalarizer from caching incorrect entries
>>
>> The scalarizer can cache incorrect entries when walking up a chain of
>> insertelement instructions. This occurs when it encounters more than one
>> instruction that it is not actively searching for, as it unconditionally caches
>> every element it finds. The fix is to only cache the first element that it
>> isn't searching for so we don't overwrite correct entries.
>>
>> Reviewers: hfinkel
>>
>> Differential Revision: http://reviews.llvm.org/D11559
>
> Should this be merged to 3.7?
Ping?
More information about the llvm-commits
mailing list