Add result of a Xform to isel queue.
[oota-llvm.git] / utils / TableGen / DAGISelEmitter.cpp
index 7c1c22d2de77df6f80d760fcc122f0bc41d43886..5327f10679e6d3e3c5189ee5b4c0b38a8e298064 100644 (file)
@@ -2827,6 +2827,7 @@ public:
       emitCode("SDOperand Tmp" + utostr(ResNo) + " = Transform_" + Op->getName()
                + "(" + Ops.back() + ".Val);");
       NodeOps.push_back("Tmp" + utostr(ResNo));
+      emitCode("AddToISelQueue(Tmp" + utostr(ResNo) + ");");
       if (isRoot)
         emitCode("return Tmp" + utostr(ResNo) + ".Val;");
       return NodeOps;