[PATCH] [AArch64] Fix a pattern match failure caused by creating improper CONCAT_VECTOR.
Kevin Qin
kevinqindev at gmail.com
Mon Jun 9 19:06:52 PDT 2014
Hi t.p.northover,
Hi Tim,
This patch is to fix a pattern match failure when handling IR like,
%tmp2 = fptosi <4 x double> %tmp1 to <4 x i16>
Failure reason is, ReconstructShuffle() wrongly created a CONCAT_VECTOR trying to concat 2 of v2i32 into v4i16. This patch can fix this issue and try to generate UZP1 instead of lots of MOV and INS. Please review.
http://reviews.llvm.org/D4080
Files:
lib/Target/AArch64/AArch64ISelLowering.cpp
test/CodeGen/AArch64/arm64-convert-v4f64.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4080.10259.patch
Type: text/x-patch
Size: 5861 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140610/76dc91f9/attachment.bin>
More information about the llvm-commits
mailing list