search for: int_target_foo

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

2020 Nov 17
1
[GlobalISel] Predicated TImmLeafs in patterns
...GlobalISel to select intrinsics with immediate operands. While this is working so far, contrary to ImmLeafs the predicate does not seem to get checked. Is this not supported yet? This is the 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 Tabl...