* bail out early in tcgaarch64.make_simple_ref if possible

This commit is contained in:
florian 2024-06-17 22:54:06 +02:00
parent b98df20b4e
commit 6c50c02f7c

View File

@ -312,6 +312,9 @@ implementation
{ base + offset }
if ref.base<>NR_NO then
begin
if ref.offset=0 then
exit;
{ valid offset for LDUR/STUR -> use that }
if (ref.addressmode=AM_OFFSET) and
(op in [A_LDR,A_STR]) and