[llvm-dev] overloading single argument intrinsics (original) (raw)
Mohamed Shafi via llvm-dev llvm-dev at lists.llvm.org
Thu Nov 30 05:56:31 PST 2017
- Previous message: [llvm-dev] TwoAddressInstructionPass bug?
- Next message: [llvm-dev] overloading single argument intrinsics
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
I am trying to overload a target specific intrinsic that takes just one argument.
void llvm.target.my_intrin (int); void llvm.target.my_intrin (float);
Looking at the various TD files i realize that the intrinsic f/w requires at-least 2 arguments (including return type) in order to specify overloading of the intrinsic. I wanted to confirm if it is possible to overload an intrinsic that has just one argument. I guess otherwise i will have to support two variants of the intrinsics.
Regards, Shafi
- Previous message: [llvm-dev] TwoAddressInstructionPass bug?
- Next message: [llvm-dev] overloading single argument intrinsics
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]