search for: beforeaddingnumops

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

2020 Jun 08
2
Nested instruction patterns rejected by GlobalISel when having registers in Defs
...are to be used by the parent node. And this decision is taken at lines 869-870 in DAGISelMatcherGen.cpp: ... unsigned FinalNumOps = InstOps.size() + NumSubOps; while (InstOps.size() < FinalNumOps) { const TreePatternNode *Child = N->getChild(ChildNo); unsigned BeforeAddingNumOps = InstOps.size(); EmitResultOperand(Child, InstOps); assert(InstOps.size() > BeforeAddingNumOps && "Didn't add any operands"); // If the operand is an instruction and it produced multiple results, just // take the first one. if (!Child-...