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

John McCall rjmccall at apple.com
Mon Jul 20 11:08:53 PDT 2015


> 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.



More information about the cfe-commits mailing list