Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
2169830c
Commit
2169830c
authored
Oct 07, 2010
by
Jan Hubicka
Committed by
Jan Hubicka
Oct 07, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* lto.c (lto_balanced_map): Do not produce empty partitions.
From-SVN: r165093
parent
afbcdf5e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
gcc/lto/ChangeLog
+4
-0
gcc/lto/lto.c
+3
-0
No files found.
gcc/lto/ChangeLog
View file @
2169830c
2010-10-06 Jan Hubicka <jh@suse.cz>
* lto.c (lto_balanced_map): Do not produce empty partitions.
2010-10-06 Andi Kleen <ak@linux.intel.com>
2010-10-06 Andi Kleen <ak@linux.intel.com>
* lto.c (lto_process_name): Add.
* lto.c (lto_process_name): Add.
...
...
gcc/lto/lto.c
View file @
2169830c
...
@@ -1212,6 +1212,9 @@ lto_balanced_map (void)
...
@@ -1212,6 +1212,9 @@ lto_balanced_map (void)
undo_partition
(
partition
,
best_n_nodes
,
best_n_varpool_nodes
);
undo_partition
(
partition
,
best_n_nodes
,
best_n_varpool_nodes
);
}
}
i
=
best_i
;
i
=
best_i
;
/* When we are finished, avoid creating empty partition. */
if
(
i
==
n_nodes
-
1
)
break
;
partition
=
new_partition
(
""
);
partition
=
new_partition
(
""
);
last_visited_cgraph_node
=
0
;
last_visited_cgraph_node
=
0
;
last_visited_varpool_node
=
0
;
last_visited_varpool_node
=
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment