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
6a8cd100
Commit
6a8cd100
authored
Apr 18, 2010
by
Jan Hubicka
Committed by
Jan Hubicka
Apr 17, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ipa-inline.c (cgraph_early_inlining): Handle flattening too.
From-SVN: r158477
parent
6c559604
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
0 deletions
+15
-0
gcc/ChangeLog
+4
-0
gcc/ipa-inline.c
+11
-0
No files found.
gcc/ChangeLog
View file @
6a8cd100
2010-04-17 Jan Hubicka <jh@suse.cz>
* ipa-inline.c (cgraph_early_inlining): Handle flattening too.
2010-04-17 Richard Earnshaw <rearnsha@arm.com>
* arm.md (negdi2): Remove redundant code to force values into a
...
...
gcc/ipa-inline.c
View file @
6a8cd100
...
...
@@ -1667,6 +1667,17 @@ cgraph_early_inlining (void)
}
else
{
if
(
lookup_attribute
(
"flatten"
,
DECL_ATTRIBUTES
(
node
->
decl
))
!=
NULL
)
{
if
(
dump_file
)
fprintf
(
dump_file
,
"Flattening %s
\n
"
,
cgraph_node_name
(
node
));
cgraph_flatten
(
node
);
timevar_push
(
TV_INTEGRATION
);
todo
|=
optimize_inline_calls
(
current_function_decl
);
timevar_pop
(
TV_INTEGRATION
);
}
/* We iterate incremental inlining to get trivial cases of indirect
inlining. */
while
(
iterations
<
PARAM_VALUE
(
PARAM_EARLY_INLINER_MAX_ITERATIONS
)
...
...
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