[gcc r15-346] sra: Do not leave work for DSE (that it can sometimes not perform)

2024-05-09 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:f6743695b4d2bd4da96e56a19157372f93b800bd commit r15-346-gf6743695b4d2bd4da96e56a19157372f93b800bd Author: Martin Jambor Date: Thu May 9 16:39:44 2024 +0200 sra: Do not leave work for DSE (that it can sometimes not perform) When looking again at the g++.dg/tre

[gcc r13-8773] ICF&SRA: Make ICF and SRA agree on padding

2024-05-14 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:10bf53a80eefa46500bffb442719777e2640e7d7 commit r13-8773-g10bf53a80eefa46500bffb442719777e2640e7d7 Author: Martin Jambor Date: Mon Apr 8 18:53:23 2024 +0200 ICF&SRA: Make ICF and SRA agree on padding PR 113359 shows that (at least with -fno-strict-aliasing) I

[gcc r13-8774] ipa: Compare jump functions in ICF (PR 113907)

2024-05-14 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:1db45e83021a8a87f41e22053910fcce6e8e2c2c commit r13-8774-g1db45e83021a8a87f41e22053910fcce6e8e2c2c Author: Martin Jambor Date: Tue May 14 17:01:21 2024 +0200 ipa: Compare jump functions in ICF (PR 113907) This is a manual backport of r14-9840-g1162861439fd3c

[gcc r12-10442] ipa: Force args obtined through pass-through maps to the expected type (PR 114247)

2024-05-15 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:44191982c6bd41db1c9d126ea2f15febec3c1f81 commit r12-10442-g44191982c6bd41db1c9d126ea2f15febec3c1f81 Author: Martin Jambor Date: Tue May 14 14:13:36 2024 +0200 ipa: Force args obtined through pass-through maps to the expected type (PR 114247) Interactions of

[gcc r12-10443] ipa: Self-DCE of uses of removed call LHSs (PR 108007)

2024-05-15 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:2183e5b5aa3a080624cb95a06993e34dedd09cb2 commit r12-10443-g2183e5b5aa3a080624cb95a06993e34dedd09cb2 Author: Martin Jambor Date: Mon Apr 8 17:34:33 2024 +0200 ipa: Self-DCE of uses of removed call LHSs (PR 108007) PR 108007 is another manifestation where we re

[gcc r13-8982] Compare loop bounds in ipa-icf

2024-08-19 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:e469654e5e7bdd823c5aa996075e903c6b4d47e2 commit r13-8982-ge469654e5e7bdd823c5aa996075e903c6b4d47e2 Author: Jan Hubicka Date: Mon Aug 19 17:10:25 2024 +0200 Compare loop bounds in ipa-icf Hi, this testcase shows another poblem with missing comparators for

[gcc r15-3070] sra: Avoid risking x87 magling binary representation of a replacement (PR 58416)

2024-08-21 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:f577959f420ae404f99f630dadc1c0370734d0da commit r15-3070-gf577959f420ae404f99f630dadc1c0370734d0da Author: Martin Jambor Date: Wed Aug 21 14:49:11 2024 +0200 sra: Avoid risking x87 magling binary representation of a replacement (PR 58416) PR 58416 shows that

[gcc r15-3515] ipa: Treat static constructors and destructors as non-local (PR 115815)

2024-09-06 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:e98ad6a049c96c21cf641954584c2f5b7df0ce93 commit r15-3515-ge98ad6a049c96c21cf641954584c2f5b7df0ce93 Author: Martin Jambor Date: Fri Sep 6 14:12:53 2024 +0200 ipa: Treat static constructors and destructors as non-local (PR 115815) In PR 115815, IPA-SRA thought

[gcc r15-3516] ipa: Move pass_ipa_cdtor_merge before pass_ipa_cp and pass_ipa_sra

2024-09-06 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:db0fa0b35b922449d703c040383abf7acb349d9d commit r15-3516-gdb0fa0b35b922449d703c040383abf7acb349d9d Author: Martin Jambor Date: Fri Sep 6 14:12:54 2024 +0200 ipa: Move pass_ipa_cdtor_merge before pass_ipa_cp and pass_ipa_sra When looking at PR 115815 we realiz

[gcc r15-3589] ipa: Rename ipa_supports_p to ipa_vr_supported_type_p

2024-09-11 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:323291c29c77e3214f4850129bb8a3d0d8da6a45 commit r15-3589-g323291c29c77e3214f4850129bb8a3d0d8da6a45 Author: Martin Jambor Date: Wed Sep 11 23:53:21 2024 +0200 ipa: Rename ipa_supports_p to ipa_vr_supported_type_p ipa_supports_p is not a name that captures well

[gcc r15-3590] ipa-cp: One more use of ipa_vr_supported_type_p

2024-09-11 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:f910b02919036647a3f096265cda19358dded628 commit r15-3590-gf910b02919036647a3f096265cda19358dded628 Author: Martin Jambor Date: Wed Sep 11 23:53:21 2024 +0200 ipa-cp: One more use of ipa_vr_supported_type_p Since we have the predicate, this patch converts one

[gcc r14-9403] ipa: Avoid excessive removing of SSAs (PR 113757)

2024-03-08 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:54e505d0446f86b7ad383acbb8e5501f20872b64 commit r14-9403-g54e505d0446f86b7ad383acbb8e5501f20872b64 Author: Martin Jambor Date: Sat Mar 9 00:47:22 2024 +0100 ipa: Avoid excessive removing of SSAs (PR 113757) PR 113757 shows that the code which was meant to deb

[gcc r14-9559] ipa: Fix C++ member ptr indirect inlining (PR 114254, PR 108802)

2024-03-19 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:bf838884fac573b4902a21bb82d9b6f777e32cb9 commit r14-9559-gbf838884fac573b4902a21bb82d9b6f777e32cb9 Author: Martin Jambor Date: Tue Mar 19 22:33:27 2024 +0100 ipa: Fix C++ member ptr indirect inlining (PR 114254, PR 108802) Even though we have had code to hand

[gcc r14-9794] ipa: Avoid duplicate replacements in IPA-SRA transformation phase

2024-04-04 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:ca56b43105fc09021ec445f1978a17cd85ae5e0c commit r14-9794-gca56b43105fc09021ec445f1978a17cd85ae5e0c Author: Martin Jambor Date: Thu Apr 4 22:46:16 2024 +0200 ipa: Avoid duplicate replacements in IPA-SRA transformation phase When the analysis part of IPA-SRA fi

[gcc r14-9813] ipa: Force args obtined through pass-through maps to the expected type (PR 113964)

2024-04-05 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:8cd0d29270d4ed86c69b80c08de66dcb6c1e22fe commit r14-9813-g8cd0d29270d4ed86c69b80c08de66dcb6c1e22fe Author: Martin Jambor Date: Fri Apr 5 18:18:39 2024 +0200 ipa: Force args obtined through pass-through maps to the expected type (PR 113964) Interactions of IP

[gcc r13-8594] ipa: Self-DCE of uses of removed call LHSs (PR 108007)

2024-04-08 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:40ddc0b05a47f999b24f20c1becb79004995731b commit r13-8594-g40ddc0b05a47f999b24f20c1becb79004995731b Author: Martin Jambor Date: Mon Apr 8 17:34:33 2024 +0200 ipa: Self-DCE of uses of removed call LHSs (PR 108007) PR 108007 is another manifestation where we rel

[gcc r14-9840] ipa: Compare jump functions in ICF (PR 113907)

2024-04-08 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:1162861439fd3c4b30fc3ccd49462e47e876f04a commit r14-9840-g1162861439fd3c4b30fc3ccd49462e47e876f04a Author: Martin Jambor Date: Mon Apr 8 18:53:23 2024 +0200 ipa: Compare jump functions in ICF (PR 113907) In PR 113907 comment #58, Honza found a case where ICF

[gcc r14-9841] ICF&SRA: Make ICF and SRA agree on padding

2024-04-08 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:1e3312a25a7b34d6e3f549273e1674c7114e4408 commit r14-9841-g1e3312a25a7b34d6e3f549273e1674c7114e4408 Author: Martin Jambor Date: Mon Apr 8 18:53:23 2024 +0200 ICF&SRA: Make ICF and SRA agree on padding PR 113359 shows that (at least with -fno-strict-aliasing) I

[gcc r14-9926] contrib/check-params-in-docs.py: Ignore gcn-preferred-vectorization-factor

2024-04-11 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:33f83d3cd84f9876180a2e2a9d1ea082debdaa37 commit r14-9926-g33f83d3cd84f9876180a2e2a9d1ea082debdaa37 Author: Martin Jambor Date: Thu Apr 11 19:37:45 2024 +0200 contrib/check-params-in-docs.py: Ignore gcn-preferred-vectorization-factor contrib/check-params-in-do

[gcc r13-8619] ipa: Avoid duplicate replacements in IPA-SRA transformation phase

2024-04-19 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:8a3784adf5cd873ca295a5a011d8623338ff3976 commit r13-8619-g8a3784adf5cd873ca295a5a011d8623338ff3976 Author: Martin Jambor Date: Fri Apr 19 16:48:12 2024 +0200 ipa: Avoid duplicate replacements in IPA-SRA transformation phase When the analysis part of IPA-SRA f

[gcc r13-8620] ipa: Force args obtined through pass-through maps to the expected type (PR 113964)

2024-04-19 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:5c3238b0d55ec13a2430aa606e2bfed9432e97ac commit r13-8620-g5c3238b0d55ec13a2430aa606e2bfed9432e97ac Author: Martin Jambor Date: Fri Apr 19 16:48:12 2024 +0200 ipa: Force args obtined through pass-through maps to the expected type (PR 113964) Interactions of I

[gcc r13-8785] testsuite: Adjust pr113359-2_*.c with unsigned long long [PR114662]

2024-05-21 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:c827f46d8652d7a089e614302a4cffb6b192284d commit r13-8785-gc827f46d8652d7a089e614302a4cffb6b192284d Author: Kewen Lin Date: Wed Apr 10 02:59:43 2024 -0500 testsuite: Adjust pr113359-2_*.c with unsigned long long [PR114662] pr113359-2_*.c define a struct having

[gcc r14-10237] sra: Do not leave work for DSE (that it can sometimes not perform)

2024-05-23 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:1a6c1c85b7ab1ad4bdf9573fcdc04dcce894ba82 commit r14-10237-g1a6c1c85b7ab1ad4bdf9573fcdc04dcce894ba82 Author: Martin Jambor Date: Thu May 9 16:39:44 2024 +0200 sra: Do not leave work for DSE (that it can sometimes not perform) When looking again at the g++.dg/t

[gcc r12-10475] ipa: Compare jump functions in ICF (PR 113907)

2024-05-28 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:72f6b7ec3915f0b5b3517dffa19e3b34c8af687d commit r12-10475-g72f6b7ec3915f0b5b3517dffa19e3b34c8af687d Author: Martin Jambor Date: Tue May 28 13:33:02 2024 +0200 ipa: Compare jump functions in ICF (PR 113907) This is a manual backport of r14-9840-g1162861439fd3c

[gcc r14-10803] ipa: Treat static constructors and destructors as non-local (PR 115815)

2024-10-18 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:f057e958732cd2627b6db127fa6d4d882b61dd5f commit r14-10803-gf057e958732cd2627b6db127fa6d4d882b61dd5f Author: Martin Jambor Date: Fri Oct 18 21:32:16 2024 +0200 ipa: Treat static constructors and destructors as non-local (PR 115815) In PR 115815, IPA-SRA though

[gcc r15-4464] testsuite: Add necessary dejagnu directives to pr115815_0.c

2024-10-18 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:1a458bdeb223ffa501bac8e76182115681967094 commit r15-4464-g1a458bdeb223ffa501bac8e76182115681967094 Author: Martin Jambor Date: Fri Oct 18 12:00:12 2024 +0200 testsuite: Add necessary dejagnu directives to pr115815_0.c I have received an email from the Linaro

[gcc r15-4564] tree-sra: Avoid SRAing arguments to a function returning_twice (PR 117142)

2024-10-23 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:29d8f1f0b7ad3c69b3bdb130325300d5f73aa784 commit r15-4564-g29d8f1f0b7ad3c69b3bdb130325300d5f73aa784 Author: Martin Jambor Date: Wed Oct 23 11:30:32 2024 +0200 tree-sra: Avoid SRAing arguments to a function returning_twice (PR 117142) PR 117142 shows that the c

[gcc r13-9143] ipa: Treat static constructors and destructors as non-local (PR 115815)

2024-10-22 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:005ce1c1826777f33d5011723827d17f1fcd55c1 commit r13-9143-g005ce1c1826777f33d5011723827d17f1fcd55c1 Author: Martin Jambor Date: Fri Oct 18 21:32:16 2024 +0200 ipa: Treat static constructors and destructors as non-local (PR 115815) In PR 115815, IPA-SRA thought

[gcc r15-5637] ipa: Move individual jump function copying to a separate function

2024-11-24 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:cc5779fcaf76aeee005f986eb1dc15205c696544 commit r15-5637-gcc5779fcaf76aeee005f986eb1dc15205c696544 Author: Martin Jambor Date: Sun Nov 24 23:03:43 2024 +0100 ipa: Move individual jump function copying to a separate function When reviewing various IPA bits and

[gcc r14-10997] tree-sra: Avoid SRAing arguments to a function returning_twice (PR 117142)

2024-11-28 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:8fd9461976b325efd134f9004a7958ebd008148f commit r14-10997-g8fd9461976b325efd134f9004a7958ebd008148f Author: Martin Jambor Date: Wed Oct 23 11:30:32 2024 +0200 tree-sra: Avoid SRAing arguments to a function returning_twice (PR 117142) PR 117142 shows that the

[gcc r12-10836] tree-sra: Avoid SRAing arguments to a function returning_twice (PR 117142)

2024-11-27 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:dc0e962ea18667bc3cdabcafef85b241a4f2c678 commit r12-10836-gdc0e962ea18667bc3cdabcafef85b241a4f2c678 Author: Martin Jambor Date: Fri Nov 15 14:37:06 2024 +0100 tree-sra: Avoid SRAing arguments to a function returning_twice (PR 117142) This is a manual bacport

[gcc r13-9193] tree-sra: Avoid SRAing arguments to a function returning_twice (PR 117142)

2024-11-15 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:6244de432a5ba9807c6f0065e70a8025af7b1bd6 commit r13-9193-g6244de432a5ba9807c6f0065e70a8025af7b1bd6 Author: Martin Jambor Date: Fri Nov 15 14:37:06 2024 +0100 tree-sra: Avoid SRAing arguments to a function returning_twice (PR 117142) This is a manual bacport o

[gcc r15-5291] ipa: Rationalize IPA-VR computations across pass-through jump functions

2024-11-14 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:012f5a22bac26a898ab66655965b07ac23201fdd commit r15-5291-g012f5a22bac26a898ab66655965b07ac23201fdd Author: Martin Jambor Date: Thu Nov 14 20:55:06 2024 +0100 ipa: Rationalize IPA-VR computations across pass-through jump functions Currently ipa_value_range_fro

[gcc r15-5240] ipa: Introduce a one jump function dumping function

2024-11-14 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:f927264935972145bb71f1cdb26263a5446671e1 commit r15-5240-gf927264935972145bb71f1cdb26263a5446671e1 Author: Martin Jambor Date: Thu Nov 14 14:42:27 2024 +0100 ipa: Introduce a one jump function dumping function I plan to introduce a verifier that prints a sing

[gcc r15-5239] ipa-cp: Fix constant dumping

2024-11-14 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:da29560711b2a66b26738caf46dbf67d3f7cff85 commit r15-5239-gda29560711b2a66b26738caf46dbf67d3f7cff85 Author: Martin Jambor Date: Thu Nov 14 14:42:27 2024 +0100 ipa-cp: Fix constant dumping Commit gcc-14-5368-ge0787da2633 removed an overloaded variant of fun

[gcc r15-6599] ipa-cp: Make dumping of bit masks representing -1 nicer

2025-01-06 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:72b273152f75a8622ea13d0fe95d6d2461615ba4 commit r15-6599-g72b273152f75a8622ea13d0fe95d6d2461615ba4 Author: Martin Jambor Date: Mon Jan 6 11:58:29 2025 +0100 ipa-cp: Make dumping of bit masks representing -1 nicer Dumps of the lattices representing bit-values

[gcc r15-7456] ipa-cp: Perform operations in the appropriate types (PR 118097)

2025-02-10 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:6d07e3de7e8d39ac144ba1d83bba08d48bacae13 commit r15-7456-g6d07e3de7e8d39ac144ba1d83bba08d48bacae13 Author: Martin Jambor Date: Mon Feb 10 16:49:59 2025 +0100 ipa-cp: Perform operations in the appropriate types (PR 118097) One of the testcases from PR 118097 a

[gcc r15-7476] lto: Add an entry for cold attribute to lto_gnu_attributes

2025-02-11 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:4abac2ffdb071ca9337e4f31fa79cd38df1ac7c3 commit r15-7476-g4abac2ffdb071ca9337e4f31fa79cd38df1ac7c3 Author: Martin Jambor Date: Tue Feb 11 16:39:56 2025 +0100 lto: Add an entry for cold attribute to lto_gnu_attributes PR 118125 is a performance regression stem

[gcc r15-7269] tree-ssa-dce: Avoid creating invalid BBs with no outgoing edge (PR117892)

2025-01-29 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:3d07e7bf13d4aec794dd25b5090c139b4d78283d commit r15-7269-g3d07e7bf13d4aec794dd25b5090c139b4d78283d Author: Martin Jambor Date: Wed Jan 29 10:51:08 2025 +0100 tree-ssa-dce: Avoid creating invalid BBs with no outgoing edge (PR117892) Zhendong Su and Michal Jire

[gcc r15-6110] ipa: Update value range jump functions during inlining

2024-12-11 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:92e0e0f8177530b8c6fcafe1d61ba03b00dff6a6 commit r15-6110-g92e0e0f8177530b8c6fcafe1d61ba03b00dff6a6 Author: Martin Jambor Date: Wed Dec 11 14:55:27 2024 +0100 ipa: Update value range jump functions during inlining When inlining (during the analysis phase) a ca

[gcc r15-6295] ipa: Better value ranges for pointer integer constants

2024-12-17 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:1eb41aeb49a491f5b18d160074e651a76afc655a commit r15-6295-g1eb41aeb49a491f5b18d160074e651a76afc655a Author: Martin Jambor Date: Tue Dec 17 11:17:14 2024 +0100 ipa: Better value ranges for pointer integer constants When looking into cases where we know an actua

[gcc r15-6296] ipa: Improve how we derive value ranges from IPA invariants

2024-12-17 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:5d740f56a162702a33379789a4d6134d9733aa71 commit r15-6296-g5d740f56a162702a33379789a4d6134d9733aa71 Author: Martin Jambor Date: Tue Dec 17 11:17:14 2024 +0100 ipa: Improve how we derive value ranges from IPA invariants I believe that the current function ipa_r

[gcc r15-6294] ipa: Skip widening type conversions in jump function constructions

2024-12-17 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:96fb71883d438bdb241fdf9c7d12f945c5ba0c7f commit r15-6294-g96fb71883d438bdb241fdf9c7d12f945c5ba0c7f Author: Martin Jambor Date: Tue Dec 17 11:17:14 2024 +0100 ipa: Skip widening type conversions in jump function constructions Originally, we did not stream any

[gcc r15-6769] ipa-cp: Fold-convert values when necessary (PR 118138)

2025-01-10 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:d019ab4f115caab48316c185c007765719e93052 commit r15-6769-gd019ab4f115caab48316c185c007765719e93052 Author: Martin Jambor Date: Sat Jan 4 20:40:07 2025 +0100 ipa-cp: Fold-convert values when necessary (PR 118138) PR 118138 and quite a few duplicates that it ha

[gcc r15-6864] MAINTAINERS: Make contrib/check-MAINTAINERS.py happy

2025-01-13 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:539fc490690d825ab2d299a0f577c5e9d3fa33d0 commit r15-6864-g539fc490690d825ab2d299a0f577c5e9d3fa33d0 Author: Martin Jambor Date: Mon Jan 13 13:47:27 2025 +0100 MAINTAINERS: Make contrib/check-MAINTAINERS.py happy This commit makes the contrib/check-MAINTAINERS.

[gcc r15-8061] ipa: Do not modify cgraph edges from thunk clones during inlining (PR116572)

2025-03-14 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:075ec330307c5b1fe5ed166a633c718c06b01437 commit r15-8061-g075ec330307c5b1fe5ed166a633c718c06b01437 Author: Martin Jambor Date: Fri Mar 14 16:07:01 2025 +0100 ipa: Do not modify cgraph edges from thunk clones during inlining (PR116572) In PR 116572 we hit an a

[gcc r13-9497] ipa-cp: Avoid ICE when redistributing nodes among edges to recursive clones (PR 118318)

2025-04-08 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:659e222b82c41ae0730a0bb93d891864b6ae5e16 commit r13-9497-g659e222b82c41ae0730a0bb93d891864b6ae5e16 Author: Martin Jambor Date: Fri Mar 7 17:17:24 2025 +0100 ipa-cp: Avoid ICE when redistributing nodes among edges to recursive clones (PR 118318) PR 118318 rep

[gcc r14-11497] Fix a pasto in ao_compare::compare_ao_refs

2025-04-01 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:28c10781fd26324e8fd6077e743944f1a32e commit r14-11497-g28c10781fd26324e8fd6077e743944f1a32e Author: Martin Jambor Date: Tue Mar 11 14:52:44 2025 +0100 Fix a pasto in ao_compare::compare_ao_refs When reading the function ao_compare::compare_ao_refs I c

[gcc r14-11495] ipa: Do not modify cgraph edges from thunk clones during inlining (PR116572)

2025-04-01 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:5312a8f62a6bcae36f6aa40f88c8b58dfae7db21 commit r14-11495-g5312a8f62a6bcae36f6aa40f88c8b58dfae7db21 Author: Martin Jambor Date: Fri Mar 14 16:07:01 2025 +0100 ipa: Do not modify cgraph edges from thunk clones during inlining (PR116572) In PR 116572 we hit an

[gcc r15-9250] sra: Avoid creating TBAA hazards (PR118924)

2025-04-07 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:07d243670020b339380194f6125cde87ada56148 commit r15-9250-g07d243670020b339380194f6125cde87ada56148 Author: Martin Jambor Date: Mon Apr 7 13:32:09 2025 +0200 sra: Avoid creating TBAA hazards (PR118924) The testcase in PR 118924, when compiled on Aarch64, conta

[gcc r15-9251] sra: Clear grp_same_access_path of acesses created by total scalarization (PR118924)

2025-04-07 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:40445711b8af113ef423d8bcac1a7ce1c47f62d7 commit r15-9251-g40445711b8af113ef423d8bcac1a7ce1c47f62d7 Author: Martin Jambor Date: Mon Apr 7 13:32:10 2025 +0200 sra: Clear grp_same_access_path of acesses created by total scalarization (PR118924) During analysis

[gcc r15-9427] ipa-cp: Make propagation of bits in IPA-CP aware of type conversions (PR119318)

2025-04-14 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:de1c734a8ae034c92f485e7f58b7fcb1c921ecd2 commit r15-9427-gde1c734a8ae034c92f485e7f58b7fcb1c921ecd2 Author: Martin Jambor Date: Mon Apr 14 14:21:15 2025 +0200 ipa-cp: Make propagation of bits in IPA-CP aware of type conversions (PR119318) After the propagatio

[gcc r15-9486] ipa-bit-cp: Fix adjusting value according to mask (PR119803)

2025-04-15 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:b4cf69503bcb32491dbd7ab63fe7f0f9fcdcca38 commit r15-9486-gb4cf69503bcb32491dbd7ab63fe7f0f9fcdcca38 Author: Martin Jambor Date: Tue Apr 15 15:55:34 2025 +0200 ipa-bit-cp: Fix adjusting value according to mask (PR119803) In my fix for PR 119318 I put mask calcu

[gcc r14-11682] sra: Avoid creating TBAA hazards (PR118924)

2025-04-24 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:19dd791b3a7166df0766dfd0b5e6918f8e3d1bba commit r14-11682-g19dd791b3a7166df0766dfd0b5e6918f8e3d1bba Author: Martin Jambor Date: Mon Apr 7 13:32:09 2025 +0200 sra: Avoid creating TBAA hazards (PR118924) The testcase in PR 118924, when compiled on Aarch64, cont

[gcc r14-11683] sra: Clear grp_same_access_path of acesses created by total scalarization (PR118924)

2025-04-24 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:cd7c5d9729851940ab6bb7a8522a548c62e8dade commit r14-11683-gcd7c5d9729851940ab6bb7a8522a548c62e8dade Author: Martin Jambor Date: Mon Apr 7 13:32:10 2025 +0200 sra: Clear grp_same_access_path of acesses created by total scalarization (PR118924) During analysis

[gcc r12-11079] sra: Clear grp_same_access_path of acesses created by total scalarization (PR118924)

2025-04-30 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:d4d12a548f210371609e85f6d2f4f3ee0e2b04f2 commit r12-11079-gd4d12a548f210371609e85f6d2f4f3ee0e2b04f2 Author: Martin Jambor Date: Mon Apr 7 13:32:10 2025 +0200 sra: Clear grp_same_access_path of acesses created by total scalarization (PR118924) During analysis

[gcc r15-9429] ipa-cp: Use the stored and streamed pass-through types in ipa-vr (PR118785)

2025-04-14 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:4f19487f2606d25516d31f0279101deea9772da4 commit r15-9429-g4f19487f2606d25516d31f0279101deea9772da4 Author: Martin Jambor Date: Mon Apr 14 14:21:15 2025 +0200 ipa-cp: Use the stored and streamed pass-through types in ipa-vr (PR118785) This patch revisits the f

[gcc r15-9426] ipa: Record and stream result types of arithemetic jump functions

2025-04-14 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:f33d2e6b532304d487193667e6b5d8f8d7df2bf4 commit r15-9426-gf33d2e6b532304d487193667e6b5d8f8d7df2bf4 Author: Martin Jambor Date: Mon Apr 14 14:21:14 2025 +0200 ipa: Record and stream result types of arithemetic jump functions In order to replace the use of some

[gcc r15-9428] ipa-cp: Make dumping of widest_ints even more sane

2025-04-14 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:044d0d1ee1a61c21670068485d4a250edfbb695a commit r15-9428-g044d0d1ee1a61c21670068485d4a250edfbb695a Author: Martin Jambor Date: Mon Apr 14 14:21:15 2025 +0200 ipa-cp: Make dumping of widest_ints even more sane This patch just introduces a form of dumping of wi

[gcc r15-9430] ipa-cp: Use the collected pass-through types to propgate constants (PR118097)

2025-04-14 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:6b6611f81476b6375c90859d85331c2981a2ce51 commit r15-9430-g6b6611f81476b6375c90859d85331c2981a2ce51 Author: Martin Jambor Date: Mon Apr 14 14:21:15 2025 +0200 ipa-cp: Use the collected pass-through types to propgate constants (PR118097) This patch revisits th

[gcc r12-11080] Add test-case for PR118924

2025-04-30 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:81b30ef214690b6521753293bf2fcb2339055b54 commit r12-11080-g81b30ef214690b6521753293bf2fcb2339055b54 Author: Martin Jambor Date: Tue Apr 29 18:24:29 2025 +0200 Add test-case for PR118924 Because the testcase for the issue in master is in a commit I do not

[gcc r16-420] ipa: Do not emit info about temporary clones to ipa-clones dump (PR119852)

2025-05-06 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:fb5829a01651d427a63a12c44ecc8baa47dbfc83 commit r16-420-gfb5829a01651d427a63a12c44ecc8baa47dbfc83 Author: Martin Jambor Date: Tue May 6 17:28:43 2025 +0200 ipa: Do not emit info about temporary clones to ipa-clones dump (PR119852) As described in PR 119852, t

[gcc r16-419] Document option -fdump-ipa-clones

2025-05-06 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:6ecc2fee06bdd60da0e9b3fe6660b553dbdca3ca commit r16-419-g6ecc2fee06bdd60da0e9b3fe6660b553dbdca3ca Author: Martin Jambor Date: Tue May 6 17:28:42 2025 +0200 Document option -fdump-ipa-clones I have noticed that the option -fdump-ipa-clones is not documented

[gcc r16-422] ipa: Drop the default value of suffix parameter of create_clone (PR119852)

2025-05-06 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:76c882e341cb330a4e9f677a8c3541d573820255 commit r16-422-g76c882e341cb330a4e9f677a8c3541d573820255 Author: Martin Jambor Date: Tue May 6 17:28:44 2025 +0200 ipa: Drop the default value of suffix parameter of create_clone (PR119852) In PR 119852 we agreed that

[gcc r16-421] ipa: Fix create_version_clone_with_body declaration and comment

2025-05-06 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:1eaee43dc0c6292ce865b460d52474ca14ea1d71 commit r16-421-g1eaee43dc0c6292ce865b460d52474ca14ea1d71 Author: Martin Jambor Date: Tue May 6 17:28:43 2025 +0200 ipa: Fix create_version_clone_with_body declaration and comment I noticed that the name of the fifth pa

[gcc r13-9612] Fix a pasto in ao_compare::compare_ao_refs

2025-04-23 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:7495787e31c4e5ee6a04c8f05d227a4f0eb7a345 commit r13-9612-g7495787e31c4e5ee6a04c8f05d227a4f0eb7a345 Author: Martin Jambor Date: Tue Mar 11 14:52:44 2025 +0100 Fix a pasto in ao_compare::compare_ao_refs When reading the function ao_compare::compare_ao_refs I ca

[gcc r13-9622] sra: Avoid creating TBAA hazards (PR118924)

2025-04-29 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:087d91f9d4e97de66955caa94b42e91180d02d78 commit r13-9622-g087d91f9d4e97de66955caa94b42e91180d02d78 Author: Martin Jambor Date: Mon Apr 7 13:32:09 2025 +0200 sra: Avoid creating TBAA hazards (PR118924) The testcase in PR 118924, when compiled on Aarch64, conta

[gcc r13-9623] sra: Clear grp_same_access_path of acesses created by total scalarization (PR118924)

2025-04-29 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:85792c6234ba8436422b3119bf3aae50d7951b27 commit r13-9623-g85792c6234ba8436422b3119bf3aae50d7951b27 Author: Martin Jambor Date: Mon Apr 7 13:32:10 2025 +0200 sra: Clear grp_same_access_path of acesses created by total scalarization (PR118924) During analysis

[gcc r15-9633] ipa: Do not emit info about temporary clones to ipa-clones dump (PR119852)

2025-05-07 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:77780c31485eeb71e9fabf8ea9d4b1af0c3be595 commit r15-9633-g77780c31485eeb71e9fabf8ea9d4b1af0c3be595 Author: Martin Jambor Date: Tue May 6 17:28:43 2025 +0200 ipa: Do not emit info about temporary clones to ipa-clones dump (PR119852) As described in PR 119852,

[gcc r15-9632] Document option -fdump-ipa-clones

2025-05-07 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:99e2f1138c61e851cfa08712aa73e2689d314fd1 commit r15-9632-g99e2f1138c61e851cfa08712aa73e2689d314fd1 Author: Martin Jambor Date: Tue May 6 17:28:42 2025 +0200 Document option -fdump-ipa-clones I have noticed that the option -fdump-ipa-clones is not documented

[gcc r15-7792] ipa-vr: Handle non-conversion unary ops separately from conversions (PR 118785)

2025-03-03 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:d05b64bdd048ffb7f72d97553888934a9bcd13fa commit r15-7792-gd05b64bdd048ffb7f72d97553888934a9bcd13fa Author: Martin Jambor Date: Mon Mar 3 14:53:03 2025 +0100 ipa-vr: Handle non-conversion unary ops separately from conversions (PR 118785) Since we construct ar

[gcc r15-7891] ipa-cp: Avoid ICE when redistributing nodes among edges to recursive clones (PR 118318)

2025-03-07 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:7deb498425799aceb7659ea25614175a49533184 commit r15-7891-g7deb498425799aceb7659ea25614175a49533184 Author: Martin Jambor Date: Fri Mar 7 17:17:24 2025 +0100 ipa-cp: Avoid ICE when redistributing nodes among edges to recursive clones (PR 118318) PR 118318 rep

[gcc r14-11375] ipa-sra: Avoid clashes with ipa-cp when pulling accesses across calls (PR 118243)

2025-03-04 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:455ea90d6e5ed2938fb7cc7008bf738dcbbc72d4 commit r14-11375-g455ea90d6e5ed2938fb7cc7008bf738dcbbc72d4 Author: Martin Jambor Date: Tue Mar 4 14:53:41 2025 +0100 ipa-sra: Avoid clashes with ipa-cp when pulling accesses across calls (PR 118243) Among other things

[gcc r13-9422] ipa-sra: Avoid clashes with ipa-cp when pulling accesses across calls (PR 118243)

2025-03-11 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:ceb689d5b697886c2255a43ee61b7352242c9683 commit r13-9422-gceb689d5b697886c2255a43ee61b7352242c9683 Author: Martin Jambor Date: Tue Mar 11 16:49:40 2025 +0100 ipa-sra: Avoid clashes with ipa-cp when pulling accesses across calls (PR 118243) Among other things

[gcc r15-7961] Fix a pasto in ao_compare::compare_ao_refs

2025-03-11 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:dc47161c1f32c3f27d1157ba0de9d98ea1b7fc82 commit r15-7961-gdc47161c1f32c3f27d1157ba0de9d98ea1b7fc82 Author: Martin Jambor Date: Tue Mar 11 14:52:44 2025 +0100 Fix a pasto in ao_compare::compare_ao_refs When reading the function ao_compare::compare_ao_refs I ca

[gcc r15-7760] ipa-sra: Avoid clashes with ipa-cp when pulling accesses across calls (PR 118243)

2025-02-28 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:0bffcd469e68d68ba9c724f515651deff8494b82 commit r15-7760-g0bffcd469e68d68ba9c724f515651deff8494b82 Author: Martin Jambor Date: Fri Feb 28 17:34:10 2025 +0100 ipa-sra: Avoid clashes with ipa-cp when pulling accesses across calls (PR 118243) Among other things

[gcc r14-11447] ipa-cp: Avoid ICE when redistributing nodes among edges to recursive clones (PR 118318)

2025-03-25 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:82bd83122a483275787fcd18131bf6cd91fbdbd4 commit r14-11447-g82bd83122a483275787fcd18131bf6cd91fbdbd4 Author: Martin Jambor Date: Fri Mar 7 17:17:24 2025 +0100 ipa-cp: Avoid ICE when redistributing nodes among edges to recursive clones (PR 118318) PR 118318 re

[gcc r13-9654] ipa: Do not emit info about temporary clones to ipa-clones dump (PR119852)

2025-05-13 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:168ce6032dd582e39f9ddadcc195fc73f364c4dd commit r13-9654-g168ce6032dd582e39f9ddadcc195fc73f364c4dd Author: Martin Jambor Date: Tue May 6 17:28:43 2025 +0200 ipa: Do not emit info about temporary clones to ipa-clones dump (PR119852) As described in PR 119852,

[gcc r14-11763] Document option -fdump-ipa-clones

2025-05-12 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:c817f833cf13bc81380bc9745da2622e4e3b7cb5 commit r14-11763-gc817f833cf13bc81380bc9745da2622e4e3b7cb5 Author: Martin Jambor Date: Tue May 6 17:28:42 2025 +0200 Document option -fdump-ipa-clones I have noticed that the option -fdump-ipa-clones is not documented

[gcc r14-11764] ipa: Do not emit info about temporary clones to ipa-clones dump (PR119852)

2025-05-12 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:51ffec744b513a71fe84373fb87a3c0125b7fffd commit r14-11764-g51ffec744b513a71fe84373fb87a3c0125b7fffd Author: Martin Jambor Date: Tue May 6 17:28:43 2025 +0200 ipa: Do not emit info about temporary clones to ipa-clones dump (PR119852) As described in PR 119852,

[gcc r13-9653] Document option -fdump-ipa-clones

2025-05-13 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:70d3dec42e8c7aec6604f920f56529c796cd398a commit r13-9653-g70d3dec42e8c7aec6604f920f56529c796cd398a Author: Martin Jambor Date: Tue May 6 17:28:42 2025 +0200 Document option -fdump-ipa-clones I have noticed that the option -fdump-ipa-clones is not documented

[gcc r16-696] ipa: Dump cgraph_node UID instead of order into ipa-clones dump file

2025-05-16 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:9fa534f0831892393885e64596a0d6ca8c4078b6 commit r16-696-g9fa534f0831892393885e64596a0d6ca8c4078b6 Author: Martin Jambor Date: Fri May 16 17:13:51 2025 +0200 ipa: Dump cgraph_node UID instead of order into ipa-clones dump file Since starting from GCC 15 the or

[gcc r16-614] tree-sra: Do not create stores into const aggregates (PR111873)

2025-05-14 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:9d039eff453f777c58642ff16178c1ce2a4be6ab commit r16-614-g9d039eff453f777c58642ff16178c1ce2a4be6ab Author: Martin Jambor Date: Wed May 14 12:08:24 2025 +0200 tree-sra: Do not create stores into const aggregates (PR111873) This patch fixes (hopefully the) one r

[gcc r15-9716] ipa: Dump cgraph_node UID instead of order into ipa-clones dump file

2025-05-20 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:76d16fbd802a10faabf63945dd34f351aea087dc commit r15-9716-g76d16fbd802a10faabf63945dd34f351aea087dc Author: Martin Jambor Date: Fri May 16 17:13:51 2025 +0200 ipa: Dump cgraph_node UID instead of order into ipa-clones dump file Since starting from GCC 15 the o

[gcc r15-9717] tree-sra: Do not create stores into const aggregates (PR111873)

2025-05-20 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:c1db46f7e51d4a546ca536f7f10e548f02e5cc12 commit r15-9717-gc1db46f7e51d4a546ca536f7f10e548f02e5cc12 Author: Martin Jambor Date: Wed May 14 12:08:24 2025 +0200 tree-sra: Do not create stores into const aggregates (PR111873) This patch fixes (hopefully the) one

[gcc r14-11797] tree-sra: Do not create stores into const aggregates (PR111873)

2025-05-22 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:92d8b9970ea2ed59010a5f1a394cb98adffa63e8 commit r14-11797-g92d8b9970ea2ed59010a5f1a394cb98adffa63e8 Author: Martin Jambor Date: Wed May 14 12:08:24 2025 +0200 tree-sra: Do not create stores into const aggregates (PR111873) This patch fixes (hopefully the) one

[gcc r13-9724] tree-sra: Do not create stores into const aggregates (PR111873)

2025-05-28 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:a067a18d42e338aea990347bb4d16d6a852c4480 commit r13-9724-ga067a18d42e338aea990347bb4d16d6a852c4480 Author: Martin Jambor Date: Wed May 14 12:08:24 2025 +0200 tree-sra: Do not create stores into const aggregates (PR111873) This patch fixes (hopefully the) one

[gcc r16-960] ipa: When inlining, don't combine PT JFs changing signedness (PR120295)

2025-05-29 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:0b004c92f5ea239936a403a2a757e12ca82ce6d8 commit r16-960-g0b004c92f5ea239936a403a2a757e12ca82ce6d8 Author: Martin Jambor Date: Thu May 29 16:32:04 2025 +0200 ipa: When inlining, don't combine PT JFs changing signedness (PR120295) In GCC 15 we allowed jump-func

[gcc r16-959] ipa: Fix whitespace when dumping VR in jump_functions

2025-05-29 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:71e6b7b26a5169d217a62f34acbbc43c592b24bd commit r16-959-g71e6b7b26a5169d217a62f34acbbc43c592b24bd Author: Martin Jambor Date: Thu May 29 16:32:04 2025 +0200 ipa: Fix whitespace when dumping VR in jump_functions Lack of white space breakes the tree-visualisati