Re: LLVM 16 (opaque pointers)

Поиск
Список
Период
Сортировка
От Dmitry Dolgov
Тема Re: LLVM 16 (opaque pointers)
Дата
Msg-id 20231013144413.bgg65vvgekpqtxhs@erthalion.local
обсуждение исходный текст
Ответ на Re: LLVM 16 (opaque pointers)  (Dmitry Dolgov <9erthalion6@gmail.com>)
Ответы Re: LLVM 16 (opaque pointers)  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
> On Fri, Oct 13, 2023 at 11:06:21AM +0200, Dmitry Dolgov wrote:
> > On Thu, Oct 12, 2023 at 04:31:20PM -0700, Andres Freund wrote:
> > I don't think the "function(no-op-function),no-op-module" bit does something
> > particularly useful?
>
> Right, looks like leftovers after verifying which passes were actually
> applied. My bad, could be removed.
>
> > I also don't think we should add the mem2reg pass outside of -O0 - running it
> > after a real optimization pipeline doesn't seem useful and might even make the
> > code worse? mem2reg is included in default<O1> (and obviously also in O3).
>
> My understanding was that while mem2reg is included everywhere above
> -O0, this set of passes won't hurt. But yeah, if you say it could
> degrade the final result, it's better to not do this. I'll update this
> part.

Here is what I had in mind (only this part in the second patch was changed).

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: David Steele
Дата:
Сообщение: Re: odd buildfarm failure - "pg_ctl: control file appears to be corrupt"
Следующее
От: Andres Freund
Дата:
Сообщение: Re: LLVM 16 (opaque pointers)