[PATCH v2] gimple-fold: consistent dump of builtin call simplifications

2024-07-16 Thread rubin.gerritsen
Changes since v1: * Added DCO signoff * Removed tabs from commit message -- Previously only simplifications of the `__st[xrp]cpy_chk` were dumped. Now all call replacement simplifications are dumped. Examples of statements with corresponding dumpfile entries: `printf("mystr\n");`: optimized

[PATCH] gimple-fold: consistent dump of builtin call simplifications

2024-07-14 Thread rubin.gerritsen
Previously only simplifications of the `__st[xrp]cpy_chk` were dumped. Now all call replacement simplifications are dumped. Examples of statements with corresponding dumpfile entries: `printf("mystr\n");`: optimized: simplified printf to __builtin_puts `printf("%c", 'a');`: optimized: