linux-sparse.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Question about Sparse Linear form and pseudos
@ 2017-08-20 14:54 Dibyendu Majumdar
  2017-08-20 15:15 ` Luc Van Oostenryck
  2017-08-20 15:44 ` Christopher Li
  0 siblings, 2 replies; 14+ messages in thread
From: Dibyendu Majumdar @ 2017-08-20 14:54 UTC (permalink / raw)
  To: Linux-Sparse

Hi,

I am trying to get to grips with the Sparse Linear format and the use
of pseudos.

1) A Sparse document says that pseudos are akin to SSA variables. Is
that a true statement - i.e. do pseudos follow the discipline that
only one assignment to a pseudo is allowed. As pseudos have also
different sub-types - does this statement apply to all pseudo types or
only some sub types?

2) In a recent conversation it was stated that the baseline Linear
output from Sparse is already in SSA form. That implies that all
pseudos used are in SSA form already. However we know that in the
baseline line IR phi nodes may not be present. In LLVM the initial IR
lacks phi nodes too - instead local stack memory and load/store
sequences are used. However LLVM IR is still SSA at this stage. When
it is said that the baseline Linear IR is already SSA is it in this
sense?

Thanks and Regards
Dibyendu

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

end of thread, other threads:[~2017-09-07  2:22 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-20 14:54 Question about Sparse Linear form and pseudos Dibyendu Majumdar
2017-08-20 15:15 ` Luc Van Oostenryck
2017-08-20 16:12   ` Dibyendu Majumdar
2017-08-20 16:20     ` Linus Torvalds
2017-08-20 16:26       ` Dibyendu Majumdar
2017-08-20 16:33         ` Linus Torvalds
2017-08-20 16:45           ` Luc Van Oostenryck
2017-09-07  2:22             ` Luc Van Oostenryck
2017-08-20 16:50           ` Dibyendu Majumdar
2017-08-20 18:22           ` Christopher Li
2017-08-20 16:20     ` Christopher Li
2017-08-20 16:40       ` Dibyendu Majumdar
2017-08-20 15:44 ` Christopher Li
2017-08-20 16:18   ` 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 NNTP newsgroup(s).