[llvm-commits] [PATCH] Fix instruction selection for vduplane from v4f32 to v2f32

David Peixotto dpeixott at codeaurora.org
Wed Sep 26 16:54:54 PDT 2012


We are seeing some instruction selection failures for vduplane from larger
vectors to smaller vectors. See PR13938:
http://llvm.org/bugs/show_bug.cgi?id=13938.

 

A patch to fix this issue is attached.

 

This patch fixes an instruction selection failure for

ARMISD::VDUPLANE. The selector was missing patterns for using vdup

to initialize a vector when the source vector is a Q-reg and the

destination vector is a D-reg. The fix is to add new patterns to

allow the selector to properly select this pattern.

 

-- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted
by The Linux Foundation

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120926/6a73451d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-instruction-selection-for-vduplane-from-v4f32-to.patch
Type: application/octet-stream
Size: 3722 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120926/6a73451d/attachment.obj>


More information about the llvm-commits mailing list