mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 05:29:24 +00:00
Even though no caller actually uses the new value
(what matters is that it is added to the worklist), it seems more logical to return it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55606 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
14a093ac4c
commit
1189f3ac3b
@ -155,10 +155,11 @@ public:
|
|||||||
|
|
||||||
/// ReanalyzeNode - Recompute the NodeID and correct processed operands
|
/// ReanalyzeNode - Recompute the NodeID and correct processed operands
|
||||||
/// for the specified node, adding it to the worklist if ready.
|
/// for the specified node, adding it to the worklist if ready.
|
||||||
void ReanalyzeNode(SDNode *N) {
|
SDNode *ReanalyzeNode(SDNode *N) {
|
||||||
N->setNodeId(NewNode);
|
N->setNodeId(NewNode);
|
||||||
SDValue V(N, 0);
|
SDValue V(N, 0);
|
||||||
AnalyzeNewNode(V); // FIXME: ignore the change?
|
AnalyzeNewNode(V); // FIXME: ignore the change?
|
||||||
|
return V.getNode();
|
||||||
}
|
}
|
||||||
|
|
||||||
void NoteDeletion(SDNode *Old, SDNode *New) {
|
void NoteDeletion(SDNode *Old, SDNode *New) {
|
||||||
|
Loading…
Reference in New Issue
Block a user