[PATCH] Fix PR18054

Michael Liao michael.liao at intel.com
Mon Nov 25 01:29:21 PST 2013

Hi All,

The attached patch fixed PR18054 which is caused by a bug in X86
sign_extend_inreg lowering. Extra checking the in-reg type is needed as
(vsext x) is only when x is a vector type of i8, i16, or i32. If x is a
vector type of i1, is not valid to use (vsext x) alone.

Thanks for review
- Michael

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-PR18054.patch
Type: text/x-patch
Size: 2854 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131125/54d2805a/attachment.bin>

More information about the llvm-commits mailing list