Displaying 3 results from an estimated 3 matches for "anonymous_1654".
2016 Mar 30
2
Instruction selection pattern for intrinsic returning llvm_any_ty
...ike it’s having trouble with the operands. You can try inserting the explicit i16:$src1 there if that still doesn’t work
Thanks!
Adding i16 on the arguments to my instruction
def : Pat<(int_phx_divm_u16 i16:$src1, i16:$src2),
(divm16_pseudo i16:$src1, i16:$src2)>;
now gives me
anonymous_1654: (divm16_pseudo:i16:i16:i16 i16:i16:$src1,
i16:i16:$src2)
error: In anonymous_1654: Type inference contradiction found, merging
'i16' into 'Any'
def : Pat<(int_phx_divm_u16 i16:$src1, i16:$src2),
^
So at least it doesn't say "?" on the arguments anymore,...
2016 Mar 30
0
Instruction selection pattern for intrinsic returning llvm_any_ty
> On Mar 30, 2016, at 09:33, Mikael Holmén via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> Hi,
>
> On my out-of-tree target I have an intrinsic
>
> def int_phx_divm_u16 : Intrinsic<[llvm_any_ty],
> [llvm_i16_ty, llvm_i16_ty],
> [IntrNoMem]>;
>
> that I want to translate to the
2016 Mar 30
2
Instruction selection pattern for intrinsic returning llvm_any_ty
Hi,
On my out-of-tree target I have an intrinsic
def int_phx_divm_u16 : Intrinsic<[llvm_any_ty],
[llvm_i16_ty, llvm_i16_ty],
[IntrNoMem]>;
that I want to translate to the following instruction during instruction
selection:
def divm16_pseudo : MyPseudoInst<
(outs aNh_0_7:$dst, aNh_0_7:$dst2),
(ins