[PATCH] Fix PR15267

Michael Liao michael.liao at intel.com
Tue Feb 19 22:29:42 PST 2013


Hi All,

The root cause of PR15267 is the current logic assume byte-addressable
element during extloading from a vector. With <4 x i1> in memory, this
logic breaks. The attached patch fixes that by loading all bytes
associated to that type, extracting bits and re-packing them again to
form each element.

Thanks for review!
- Michael

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-PR15267.patch
Type: text/x-patch
Size: 7697 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130219/1146a6f9/attachment.bin>


More information about the llvm-commits mailing list