public inbox for jit@gcc.gnu.org
 help / color / mirror / Atom feed
* How do I detect if a basic block is terminated or not?
@ 2015-01-01  0:00 Dibyendu Majumdar
  2015-01-01  0:00 ` Dibyendu Majumdar
  0 siblings, 1 reply; 2+ messages in thread
From: Dibyendu Majumdar @ 2015-01-01  0:00 UTC (permalink / raw)
  To: jit

In my compiler I have a generic linking function that links current
block to next block via an unconditional branch but if the current
block is already terminated then it doesn't put the link.

I cannot see a way to detect if the current block is already terminated.

Regards
Dibyendu

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How do I detect if a basic block is terminated or not?
  2015-01-01  0:00 How do I detect if a basic block is terminated or not? Dibyendu Majumdar
@ 2015-01-01  0:00 ` Dibyendu Majumdar
  0 siblings, 0 replies; 2+ messages in thread
From: Dibyendu Majumdar @ 2015-01-01  0:00 UTC (permalink / raw)
  To: jit

On 14 June 2015 at 11:59, Dibyendu Majumdar <mobile@majumdar.org.uk> wrote:
> In my compiler I have a generic linking function that links current
> block to next block via an unconditional branch but if the current
> block is already terminated then it doesn't put the link.
>
> I cannot see a way to detect if the current block is already terminated.
>

I have worked around this by tracking this myself but ideally there
ought to be an API that will tell one whether a block is terminated or
not.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-06-14 19:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-01  0:00 How do I detect if a basic block is terminated or not? Dibyendu Majumdar
2015-01-01  0:00 ` Dibyendu Majumdar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).