Sorry to write so many small mails. <br><br>I just tried adding Uses = [CFR] to the selectcc pseudo instruction, and - voila! - it works! So I guess my question should be rephrased "Why would my back-end, modeled on another existing back-end, not be flagging the implicit register as live?"<br>
<br><div class="gmail_quote">On Wed, Dec 15, 2010 at 2:43 PM, Per Fagrell <span dir="ltr"><<a href="mailto:per.fagrell@coresonic.com">per.fagrell@coresonic.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
It just occured to me that perhaps what happens is that since the cmp-instruction is initially followed by the pseudo-instruction - which doesn't have Uses = [CFR] - that it's marked dead initially, and never changed back when the SKIPCOND is inserted by the custom emitter? But I feel that this would happen in e.g. MSP430 too then...<div>
<div></div><div class="h5"><br>
<br><div class="gmail_quote">On Wed, Dec 15, 2010 at 10:14 AM, Anton Korobeynikov <span dir="ltr"><<a href="mailto:anton@korobeynikov.info" target="_blank">anton@korobeynikov.info</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

Hello Per,<br>
<div><br>
>      SKIPCOND 1, %CFR<imp-use><br>
> Or doesn't that count?<br>
</div>Ah, sorry, I didn't recognize the stuff due to funky name. Let me<br>
think on the issue more thoroughly then :)<br>
<font color="#888888"><br>
--<br>
</font><div><div></div><div>With best regards, Anton Korobeynikov<br>
Faculty of Mathematics and Mechanics, Saint Petersburg State University<br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>