search for: gim_checki64immpredicate

Displaying 1 result from an estimated 1 matches for "gim_checki64immpredicate".

2020 Nov 17
1
[GlobalISel] Predicated TImmLeafs in patterns
...he pattern in question: def tuimm9 : TImmLeaf<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-pk...