Displaying 1 result from an estimated 1 matches for "childno".
2020 Jun 08
2
Nested instruction patterns rejected by GlobalISel when having registers in Defs
...cide which of the results 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
// t...