Commit Graph

9 Commits

Author SHA1 Message Date
florian
bcf320a76e * patch by Rika: Don’t pretend optinfo^.index can be aword(−1), resolves #40405 2024-03-03 22:49:28 +01:00
florian
e67670fa70 * changed of do_optdeadstoreelim must be passed by reference as noted by Alexey Torgashin 2022-11-03 19:01:02 +01:00
florian
342524c312 * run dead store elimination multiple times if needed 2022-11-02 22:14:12 +01:00
florian
a0366d7d28 * dead store elimnation should not remove statements which can cause an exception 2022-11-02 22:13:40 +01:00
florian
08817f1aed * fixes to deadstore optimization
git-svn-id: trunk@49117 -
2021-04-03 21:28:09 +00:00
florian
3947922fea * set nf_* correctly when an inc/dec node is converted into an add/sub node
* do not firstpass during dead store removal as it disturbes the for each calls

git-svn-id: trunk@44180 -
2020-02-15 13:53:16 +00:00
florian
b1dff29cbf * removed unused units
git-svn-id: trunk@36165 -
2017-05-09 19:53:14 +00:00
florian
27ac68cdc7 * be more careful when removing dead stores
* take care also of staticvarsyms when removing dead stores

git-svn-id: trunk@26298 -
2013-12-28 20:19:42 +00:00
florian
1a4584f4c6 + dead store elimination, based on a patch by Jeppe Johansen
git-svn-id: trunk@25962 -
2013-11-06 21:10:26 +00:00