[PATCH][OpenCL] Fixing the crash in clang due to .hi and .odd accesses in vectors of odd size

David Tweed david.tweed at gmail.com
Thu Nov 21 00:50:39 PST 2013


>From my inspection the patch looks good to me.


On Wed, Nov 20, 2013 at 3:11 PM, Anastasia Stulova <
anastasia.stulova at arm.com> wrote:

> Hello,
>
> I would like to submit a patch that fixes the crash in clang at code
> generation phase. This problem appears when a store into .hi or .odd of a
> vector of odd size is performed that cause an assertion to happen due to
> out
> of bound element access in SmallVector.
>
> The patch file contains the fix and a test program that cause the crash.
>
> Please review them and let me know if ok to check it in.
>
> Thanks,
> Anastasia
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
>


-- 
cheers, dave tweed__________________________
high-performance computing and machine vision expert: david.tweed at gmail.com
"while having code so boring anyone can maintain it, use Python." --
attempted insult seen on slashdot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131121/fdc797f7/attachment.html>


More information about the cfe-commits mailing list