On Sun, Dec 27, 2015 at 4:35 PM, Jason Ekstrand wrote:
> On Sun, Dec 27, 2015 at 10:15 AM, Connor Abbott wrote:
>>
>> On Sat, Dec 26, 2015 at 2:09 PM, Jason Ekstrand
>> wrote:
>> > This commit adds a new NIR pass that lowers all function calls away by
>> > inlining the functions.
>> > ---
>> >
>
On Sun, Dec 27, 2015 at 10:15 AM, Connor Abbott wrote:
> On Sat, Dec 26, 2015 at 2:09 PM, Jason Ekstrand
> wrote:
> > This commit adds a new NIR pass that lowers all function calls away by
> > inlining the functions.
> > ---
> >
> > There are still two things missing here:
> >
> > 1) We really
On Sat, Dec 26, 2015 at 2:09 PM, Jason Ekstrand wrote:
> This commit adds a new NIR pass that lowers all function calls away by
> inlining the functions.
> ---
>
> There are still two things missing here:
>
> 1) We really shouldn't do the inline recursively. We should keep a
> hash-table of
This commit adds a new NIR pass that lowers all function calls away by
inlining the functions.
---
There are still two things missing here:
1) We really shouldn't do the inline recursively. We should keep a
hash-table of inlined versions or something.
2) It doesn't properly handle things