Elektrine lite

← Feed

@pinskia@hachyderm.io

Post #2194753

2026-04-07 03:24 UTC

@AndresFreundTec@mastodon.social can you file a bug where this happens? It could be many different things including it is actually better to do that.

Replies (1)

  • @pinskia@hachyderm.io Will try. There are cases where I get it, the compiler can't know that yes, I do want this large piece of code duplicated just to constant-propagate with different values. But the case at hand was generating a partial of inline instr_time pg_get_ticks(void) { if (timing_tsc_enabled) { instr_time now; now.ticks = pg_rdtscp(); return now; } return pg_get_ticks_system(); } where pg_get_ticks_system() is just a clock_gettime() converting to ns.

    Open ##2194754