mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-07-18 12:29:27 +00:00
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:
parent
16d7955eb0
commit
cf6d791e08
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user