r242678 - [CodeGen] Flip lanes when lowering __builtin_palignr with one lane

Hans Wennborg hans at chromium.org
Mon Jul 20 11:13:04 PDT 2015


On Mon, Jul 20, 2015 at 11:08 AM, John McCall <rjmccall at apple.com> wrote:
>> On Jul 20, 2015, at 8:35 AM, Benjamin Kramer <benny.kra at gmail.com> wrote:
>>> On 20.07.2015, at 17:31, Benjamin Kramer <benny.kra at googlemail.com> wrote:
>>>
>>> Author: d0k
>>> Date: Mon Jul 20 10:31:17 2015
>>> New Revision: 242678
>>>
>>> URL: http://llvm.org/viewvc/llvm-project?rev=242678&view=rev
>>> Log:
>>> [CodeGen] Flip lanes when lowering __builtin_palignr with one lane
>>>
>>> Otherwise we'd pick the wrong lane for the resulting shuffle and
>>> miscompile code. PR24187.
>>
>> This is a candidate for 3.7, fixing a regression introduced in r229474.
>
> LGTM.
>
> John.

Merged in r242692.

Cheers,
Hans



More information about the cfe-commits mailing list