[llvm-commits] [PATCH] ARM: Allow long extensions to combine into vmull

Pete Couperus pjcoup at gmail.com
Sat Nov 10 23:47:51 PST 2012


Hello,

The ARM backend currently crashes when trying to combine:
        %tmp1 = load <4 x i8>* %A
        %tmp2 = load <4 x i8>* %B
        %tmp3 = sext <4 x i8> %tmp1 to <4 x i32>
        %tmp4 = sext <4 x i8> %tmp2 to <4 x i32>
        %tmp5 = mul <4 x i32> %tmp3, %tmp4

into a vmull.  This was reported as PR 12281.
This patch fixes this problem.
Please review!
Thanks,

Pete
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20121110/d432440d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: longext_vmull.diff
Type: application/octet-stream
Size: 3199 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20121110/d432440d/attachment.obj>


More information about the llvm-commits mailing list