~mpu/qbe

1

leaf functions

Details
Message ID
<644435C9.7020804@dialectronics.com>
DKIM signature
missing
Download raw message
Is there a way to determine in the code called as .emitfn if the 
function being crafted is a leaf function?  There are a lot of reasons 
to know this, in order to generate efficient code.

tim

-- 
"When I was 5 years old, my mother always told me that happiness was the 
key to life.  When I went to school, they asked me what I wanted to be 
when I grew up. I wrote down 'happy.' They told me I didn’t understand 
the assignment.  I told them they didn’t understand life.

			-- John Lennon
Details
Message ID
<0b639392-c252-4197-bb4f-865b365a4740@app.fastmail.com>
In-Reply-To
<644435C9.7020804@dialectronics.com> (view parent)
DKIM signature
missing
Download raw message
On Sat, Apr 22, 2023, at 21:30, Tim Kelly wrote:
> Is there a way to determine in the code called as .emitfn if the 
> function being crafted is a leaf function?  There are a lot of reasons 
> to know this, in order to generate efficient code.

No we currently don't track this information. Adding a
bit that's filled at parse time would solve that I
think.
Reply to thread Export thread (mbox)