Displaying 1 result from an estimated 1 matches for "gipfp_i64_predicate_uimm9".
2020 Nov 17
1
[GlobalISel] Predicated TImmLeafs in patterns
...t;i32, [{ return isUInt<9>(Imm); }]>;
def : Pat<(int_target_foo tuimm9:$mask), (FOO tuimm9:$mask)>;
Match table when using TImmLeaf:
GIM_CheckIsImm,
Match table when using ImmLeaf:
GIM_CheckOpcode, /*MI*/1, TargetOpcode::G_CONSTANT,
GIM_CheckI64ImmPredicate, /*MI*/1, /*Predicate*/GIPFP_I64_Predicate_uimm9,
Basically I'm wondering how I can make TableGen generate the
GIM_CheckI64ImmPredicate when using TImmLeafs.
Cheers,
Dominik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 6822 bytes
Desc: not availabl...