3 ms·
> For example, the compiler knows which values are live at every point of the code, No because "point of the code" is not well defined after optimisation. The
by IshKebab 3y ago
> For example, the compiler knows which values are live at every point of the code,
No because "point of the code" is not well defined after optimisation. The compiler can reorder statements, split them, merge them, inline them, outline them, eliminate them entirely etc.
- mananaysiempre 3y agoI meant each point of the machine code, of course.
- rcxdude 3y agoThe compiler needs to know that information in order to do said optimisations, so it does have the information somewhere, it just fails to express it in the debug information.