Skip to contentSkip to conversation

unssa: track use of newly added pseudo

PATCH Applied Jan Pokorný 2 participants 2 messages May 3, 2012 Sparse checker

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 unssa: track use of newly added pseudo

Currently, it is a completely "isolated island" from backend point of view as it also lacks pseudo->def information.

---
 unssa.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
unssa.c +1 -1
index 3eea9b2..382095d 100644
@@ -55,7 +55,7 @@ static void replace_phi_node(struct instruction *phi)
 	track_phi_uses(phi);
 
 	phi->opcode = OP_COPY;
-	phi->src = tmp;
+	use_pseudo(phi, tmp, &phi->src);
 
 	// FIXME: free phi->phi_list;
 }
Signature · 5 lines
1.7.3.4
--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
maintainer Applied
#1 lore raw
Quoted 2 lines · Jan Pokorný

Currently, it is a completely "isolated island" from backend point of view as it also lacks pseudo->def information.

Thanks, applied.

Chris
--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html