ISD::ZERO_EXTEND / SIGN_EXTEND of sub-vectors

Jonas Paulsson via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 24 23:09:54 PST 2017


Hi Eli,


> Are you sure "InOp" is the right input to the operation? 
> SIGN_EXTEND_VECTOR_INREG expects that the input and the output are the 
> same size, but you aren't doing anything to ensure that.
>
>
I was expecting GetWidenedVector() which always returns a widened 
vector, to return a vector of legal width. But I guess it can't hurt to 
verify that this is the case. Please see attached updated patch.

thanks!

/Jonas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: WidenVecRes_Convert.2.patch
Type: text/x-patch
Size: 795 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170125/d790258c/attachment.bin>


More information about the llvm-commits mailing list