[llvm-commits] [PATCH] Fix for PR 14652 and 14740
Akira Hatanaka
ahatanak at gmail.com
Tue Jan 15 14:51:20 PST 2013
The attached patch is an attempt to fix the following bugs:
http://llvm.org/bugs/show_bug.cgi?id=14652
http://llvm.org/bugs/show_bug.cgi?id=14740
It fixes the code which scalarizes vector shifts and ensures that the type
of the shift amount operand is the type TargetLowering::getShiftAmountTy
returns. This is the same approach taken in SelectionDAGBuilder::visitShift.
The command that was failing in 14652 passes after this patch is applied
and fixes 14740 as well.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130115/d595b2f2/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: shiftparts1.patch
Type: application/octet-stream
Size: 2821 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130115/d595b2f2/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: shiftparts1.ll
Type: application/octet-stream
Size: 723 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130115/d595b2f2/attachment-0001.obj>
More information about the llvm-commits
mailing list