* x86: 'and not' optimisation now sets the NOT node to 'do not execute' as it is skipped over

This commit is contained in:
J. Gareth "Curious Kit" Moreton 2022-11-24 21:19:13 +00:00 committed by FPK
parent 1b43913408
commit 16bd996e74

View File

@ -1974,7 +1974,9 @@ unit nx86add;
swapleftright;
secondpass(left);
{ Skip the not node completely }
Include(right.flags, nf_do_not_execute);
secondpass(tnotnode(right).left);
{ allocate registers }