Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1388)

Delta Between Two Patch Sets: hw-doloop.c

Issue 6823047: [PATCH] Fix PR 53743 and other -freorder-blocks-and-partition failures Base URL: svn+ssh://gcc.gnu.org/svn/gcc/trunk/gcc/
Left Patch Set: Created 12 years, 3 months ago
Right Patch Set: Fix PR 53743 and other -freorder-blocks-and-partition failures Created 11 years, 9 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Right: Side by side diff | Download
« no previous file with change/comment | « function.c ('k') | ifcvt.c » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(no file at all)
1 /* Code to analyze doloop loops in order for targets to perform late 1 /* Code to analyze doloop loops in order for targets to perform late
2 optimizations converting doloops to other forms of hardware loops. 2 optimizations converting doloops to other forms of hardware loops.
3 Copyright (C) 2011-2013 Free Software Foundation, Inc. 3 Copyright (C) 2011-2013 Free Software Foundation, Inc.
4 4
5 This file is part of GCC. 5 This file is part of GCC.
6 6
7 GCC is free software; you can redistribute it and/or modify it under 7 GCC is free software; you can redistribute it and/or modify it under
8 the terms of the GNU General Public License as published by the Free 8 the terms of the GNU General Public License as published by the Free
9 Software Foundation; either version 3, or (at your option) any later 9 Software Foundation; either version 3, or (at your option) any later
10 version. 10 version.
(...skipping 529 matching lines...) Expand 10 before | Expand all | Expand 10 after
540 loops = loops->next; 540 loops = loops->next;
541 } 541 }
542 ·· 542 ··
543 FOR_EACH_BB (bb) 543 FOR_EACH_BB (bb)
544 { 544 {
545 if (bb->next_bb != EXIT_BLOCK_PTR) 545 if (bb->next_bb != EXIT_BLOCK_PTR)
546 bb->aux = bb->next_bb; 546 bb->aux = bb->next_bb;
547 else 547 else
548 bb->aux = NULL; 548 bb->aux = NULL;
549 } 549 }
550 cfg_layout_finalize (); 550 cfg_layout_finalize (false);
551 clear_aux_for_blocks (); 551 clear_aux_for_blocks ();
552 df_analyze (); 552 df_analyze ();
553 } 553 }
554 554
555 /* Call the OPT function for LOOP and all of its sub-loops. This is 555 /* Call the OPT function for LOOP and all of its sub-loops. This is
556 done in a depth-first search; innermost loops are visited first. 556 done in a depth-first search; innermost loops are visited first.
557 OPTIMIZE and FAIL are the functions passed to reorg_loops by the 557 OPTIMIZE and FAIL are the functions passed to reorg_loops by the
558 target's reorg pass. */ 558 target's reorg pass. */
559 static void 559 static void
560 optimize_loop (hwloop_info loop, struct hw_doloop_hooks *hooks) 560 optimize_loop (hwloop_info loop, struct hw_doloop_hooks *hooks)
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
662 fprintf (dump_file, ";; After hardware loops optimization:\n\n"); 662 fprintf (dump_file, ";; After hardware loops optimization:\n\n");
663 dump_hwloops (loops); 663 dump_hwloops (loops);
664 } 664 }
665 665
666 free_loops (loops); 666 free_loops (loops);
667 667
668 if (dump_file) 668 if (dump_file)
669 print_rtl (dump_file, get_insns ()); 669 print_rtl (dump_file, get_insns ());
670 } 670 }
671 #endif 671 #endif
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b