Add result of a Xform to isel queue.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30497 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng 2006-09-19 18:40:15 +00:00
parent 16d7955eb0
commit cf6d791e08

View File

@ -2827,6 +2827,7 @@ public:
emitCode("SDOperand Tmp" + utostr(ResNo) + " = Transform_" + Op->getName() emitCode("SDOperand Tmp" + utostr(ResNo) + " = Transform_" + Op->getName()
+ "(" + Ops.back() + ".Val);"); + "(" + Ops.back() + ".Val);");
NodeOps.push_back("Tmp" + utostr(ResNo)); NodeOps.push_back("Tmp" + utostr(ResNo));
emitCode("AddToISelQueue(Tmp" + utostr(ResNo) + ");");
if (isRoot) if (isRoot)
emitCode("return Tmp" + utostr(ResNo) + ".Val;"); emitCode("return Tmp" + utostr(ResNo) + ".Val;");
return NodeOps; return NodeOps;