forked from OSchip/llvm-project
				
			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. llvm-svn: 55606
This commit is contained in:
		
							parent
							
								
									fdbe925974
								
							
						
					
					
						commit
						4b31a2a7ce
					
				| 
						 | 
				
			
			@ -155,10 +155,11 @@ public:
 | 
			
		|||
 | 
			
		||||
  /// ReanalyzeNode - Recompute the NodeID and correct processed operands
 | 
			
		||||
  /// for the specified node, adding it to the worklist if ready.
 | 
			
		||||
  void ReanalyzeNode(SDNode *N) {
 | 
			
		||||
  SDNode *ReanalyzeNode(SDNode *N) {
 | 
			
		||||
    N->setNodeId(NewNode);
 | 
			
		||||
    SDValue V(N, 0);
 | 
			
		||||
    AnalyzeNewNode(V); // FIXME: ignore the change?
 | 
			
		||||
    return V.getNode();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  void NoteDeletion(SDNode *Old, SDNode *New) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue