[llvm-dev] vector element type for an llvm_anyvector_ty in tablegen?
Nicholas Wilson via llvm-dev
llvm-dev at lists.llvm.org
Sat Apr 15 02:51:04 PDT 2017
I am trying to model intrinsic functions of the form < N x iM> func(< N x iM>, iM), < N x fM> func(< N x fM>, iM) and the like in table-gen.
there does not seem to be an LLVMVectorElementType among LLVMMatchType and friends. Is this possible?
also is it possible to constrain llvm_anyint_ty to i32 or i64 (i.e. a size_t), similarly is it possible to constrain an llvm_anyvector_ty to a vector of any floating point type(< N x fM>)?
More information about the llvm-dev