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

Anastasia Stulova anastasia.stulova at arm.com
Wed Nov 20 07:11:54 PST 2013


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: odd_vector_bugfix.patch
Type: text/x-patch
Size: 1296 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131120/901eddbd/attachment.bin>


More information about the cfe-commits mailing list