Skip to content

[AVR] Ensure register to be eliminated is de-allocated before applying optimization LdsMov2Lds.

ccrause requested to merge ccrause/fpc-source:avr-fix-LdsMov2Lds into main

Currently the two optimizations LdsLdsMovMov2LdsLds and LdsMov2Lds do not properly check whether the target registers are deallocated before applying the optimization. This can lead to bugs if the original register is reused later.

Merge request reports

Loading