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
d300f6bb
Commit
d300f6bb
authored
Mar 09, 2005
by
Kazu Hirata
Committed by
Kazu Hirata
Mar 09, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* loop-unroll.c (analyze_insns_in_loop): Remove preheader.
From-SVN: r96168
parent
3c3f4b56
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
gcc/ChangeLog
+2
-0
gcc/loop-unroll.c
+1
-2
No files found.
gcc/ChangeLog
View file @
d300f6bb
...
...
@@ -12,6 +12,8 @@
* loop-iv.c (get_biv_step_1): Remove lhs.
* loop-unroll.c (analyze_insns_in_loop): Remove preheader.
2005-03-08 Jeff Law <law@redhat.com>
* tree-cfg.c (cleanup_control_flow): If removal of a computed
...
...
gcc/loop-unroll.c
View file @
d300f6bb
...
...
@@ -1648,7 +1648,6 @@ analyze_insns_in_loop (struct loop *loop)
PTR
*
slot1
;
PTR
*
slot2
;
edge
*
edges
=
get_loop_exit_edges
(
loop
,
&
n_edges
);
basic_block
preheader
;
bool
can_apply
=
false
;
iv_analysis_loop_init
(
loop
);
...
...
@@ -1662,7 +1661,7 @@ analyze_insns_in_loop (struct loop *loop)
/* Record the loop exit bb and loop preheader before the unrolling. */
if
(
!
loop_preheader_edge
(
loop
)
->
src
)
{
preheader
=
loop_split_edge_with
(
loop_preheader_edge
(
loop
),
NULL_RTX
);
loop_split_edge_with
(
loop_preheader_edge
(
loop
),
NULL_RTX
);
opt_info
->
loop_preheader
=
loop_split_edge_with
(
loop_preheader_edge
(
loop
),
NULL_RTX
);
}
else
...
...
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