[LLVMdev] Overloaded intrinsics: name explosion

Shahid, Asghar-ahmad Asghar-ahmad.Shahid at amd.com
Thu Jan 15 20:52:39 PST 2015


> That's precisely what ifavpAny is about: integer, float, array, vector, pointer
> Any. aAny is meant for array-Any, and I wonder why so few people care
> about arrays. I'll go ahead with Any and llvm_any_type.
(May be this is over clarification)
So an intrinsic declared with 'ifavpAny' can take different overloaded form such as
>From llvm.xyz(i32) to llvm.xyz(4xi32) ?

Regards,
Shahid

> -----Original Message-----
> From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu]
> On Behalf Of Ramkumar Ramachandra
> Sent: Friday, January 16, 2015 8:52 AM
> To: Philip Reames
> Cc: LLVMdev
> Subject: Re: [LLVMdev] Overloaded intrinsics: name explosion
> 
> Philip Reames wrote:
> >> 1. Introduce aAny.
> >
> > Having a generic any type seems fine.  I assume you'd create something
> > like an llvm_any_type in Intrinsics.td?
> 
> That's precisely what ifavpAny is about: integer, float, array, vector, pointer
> Any. aAny is meant for array-Any, and I wonder why so few people care
> about arrays. I'll go ahead with Any and llvm_any_type.
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev




More information about the llvm-dev mailing list