https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117438
Bug ID: 117438 Summary: pass_align_tight_loops may cause performance regression in nested loops Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: Mayshao-oc at zhaoxin dot com Target Milestone: --- Created attachment 59530 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59530&action=edit gcc -O1 loop.c Pass_align_tight_loops align the inner loop aggressively, this may cause significant performance regression of some nested loops.The attached loop.c could be compiled by gcc -O1 to reproduce the scenario.