[llvm-commits] [PATCH][Please review] Enable Vector Select for ARM
Yin Ma
yinma at codeaurora.org
Tue Aug 14 15:55:15 PDT 2012
Hi Arnold,
Here we go. This is the test case.
Yin
-----Original Message-----
From: Arnold Schwaighofer [mailto:arnolds at codeaurora.org]
Sent: Tuesday, August 14, 2012 2:17 PM
To: Yin Ma
Cc: llvm-commits at cs.uiuc.edu
Subject: Re: [llvm-commits] [PATCH][Please review] Enable Vector Select for
ARM
Can you add a test case?
- // Since only 64-bit and 128-bit vectors are legal on ARM and
- // we've eliminated the other cases...
- assert(SourceVecs[i].getValueType().getVectorNumElements() ==
2*NumElts &&
- "unexpected vector sizes in ReconstructShuffle");
The comments above the removed assert look suspicious. They seem to indicate
that this case was supposed to be handle further up/else where?
Best,
Arnold
On 8/14/2012 1:52 PM, Yin Ma wrote:
> Hi,
>
> So far vector select, such as a < b ? a : c, when IR is generated for
> vector
>
> select on ARM. The ARM backend will trigger an assertion. The patch
> will
>
> add a handler code to make assertion go away.
>
> Please give a review again.
>
> Thanks,
>
> Yin
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vector_select_validation.c
Type: application/octet-stream
Size: 4208 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120814/e75a2c00/attachment.obj>
More information about the llvm-commits
mailing list