Linux SPARSE checker discussions
 help / color / mirror / Atom feed
From: "Jan Pokorný" <pokorny_jan@seznam.cz>
To: Linux-Sparse <linux-sparse@vger.kernel.org>
Subject: [PATCH] unssa: track use of newly added pseudo
Date: Thu, 03 May 2012 16:59:11 +0200	[thread overview]
Message-ID: <4FA29D3F.3000905@seznam.cz> (raw)

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

Signed-off-by: Jan Pokorný <pokorny_jan@seznam.cz>
---
 unssa.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/unssa.c b/unssa.c
index 3eea9b2..382095d 100644
--- a/unssa.c
+++ b/unssa.c
@@ -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;
 }
-- 
1.7.3.4
--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

             reply	other threads:[~2012-05-03 15:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-03 14:59 Jan Pokorný [this message]
2012-05-03 20:31 ` [PATCH] unssa: track use of newly added pseudo Christopher Li

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FA29D3F.3000905@seznam.cz \
    --to=pokorny_jan@seznam.cz \
    --cc=linux-sparse@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox