[LLVMdev] killing vicmp and vfcmp

Chris Lattner clattner at apple.com
Mon Jul 6 10:34:07 PDT 2009


On Jun 25, 2009, at 3:40 PM, Nate Begeman wrote:

>
> On Jun 24, 2009, at 10:02 AM, Chris Lattner wrote:
>
>>
>> On Jun 24, 2009, at 12:47 AM, Duncan Sands wrote:
>>
>>> Hi Nick,
>>>
>>>> Now that icmp and fcmp have supported returning vectors of i1 for a
>>>> while,
>>>
>>> the code generators don't know how to codegen vectors of i1, so does
>>> this actually work?
>>
>> No, but there are no clients of them yet.
>
> What's the proposed replacement that will be pattern-matched to the
> vector comparison instructions in AltiVec, SSE, and NEON?

[fi]cmp + vector sext should work.

-Chris 



More information about the llvm-dev mailing list