r210042 - [CodeGen] Don't use SizeTy for EmitNeonSplat.

David Blaikie dblaikie at gmail.com
Mon Jun 2 14:16:43 PDT 2014


On Mon, Jun 2, 2014 at 2:02 PM, Michael Spencer <bigcheesegs at gmail.com> wrote:
> On Mon, Jun 2, 2014 at 2:01 PM, Chandler Carruth <chandlerc at google.com> wrote:
>> Test case?
>
> One of the bots was failing because of this.

Still nice to have a fixed-target test to demonstrate the failure on
all bots (& for all developers), if possible.

>
> - Michael Spencer
>
>>
>>
>> On Mon, Jun 2, 2014 at 12:48 PM, Michael J. Spencer <bigcheesegs at gmail.com>
>> wrote:
>>>
>>> Author: mspencer
>>> Date: Mon Jun  2 14:48:59 2014
>>> New Revision: 210042
>>>
>>> URL: http://llvm.org/viewvc/llvm-project?rev=210042&view=rev
>>> Log:
>>> [CodeGen] Don't use SizeTy for EmitNeonSplat.
>>>
>>> Modified:
>>>     cfe/trunk/lib/CodeGen/CGBuiltin.cpp
>>>
>>> Modified: cfe/trunk/lib/CodeGen/CGBuiltin.cpp
>>> URL:
>>> http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGBuiltin.cpp?rev=210042&r1=210041&r2=210042&view=diff
>>>
>>> ==============================================================================
>>> --- cfe/trunk/lib/CodeGen/CGBuiltin.cpp (original)
>>> +++ cfe/trunk/lib/CodeGen/CGBuiltin.cpp Mon Jun  2 14:48:59 2014
>>> @@ -5232,7 +5232,7 @@ Value *CodeGenFunction::EmitAArch64Built
>>>      Ty = llvm::PointerType::getUnqual(VTy->getElementType());
>>>      Ops[0] = Builder.CreateBitCast(Ops[0], Ty);
>>>      Ops[0] = Builder.CreateLoad(Ops[0]);
>>> -    llvm::Constant *CI = ConstantInt::get(SizeTy, 0);
>>> +    llvm::Constant *CI = ConstantInt::get(Int32Ty, 0);
>>>      Ops[0] = Builder.CreateInsertElement(V, Ops[0], CI);
>>>      return EmitNeonSplat(Ops[0], CI);
>>>    }
>>>
>>>
>>> _______________________________________________
>>> cfe-commits mailing list
>>> cfe-commits at cs.uiuc.edu
>>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>>
>>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits



More information about the cfe-commits mailing list