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
40e81af5
Commit
40e81af5
authored
Aug 14, 1994
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(loop_iterations): Use PREV_INSN not prev_nonnote_insn.
From-SVN: r7925
parent
87fc3db7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
+5
-1
gcc/unroll.c
+5
-1
No files found.
gcc/unroll.c
View file @
40e81af5
...
...
@@ -3093,7 +3093,11 @@ loop_iterations (loop_start, loop_end)
loop_final_value
=
0
;
loop_iteration_var
=
0
;
last_loop_insn
=
prev_nonnote_insn
(
loop_end
);
/* We used to use pren_nonnote_insn here, but that fails because it might
accidentally get the branch for a contained loop if the branch for this
loop was deleted. We can only trust branches immediately before the
loop_end. */
last_loop_insn
=
PREV_INSN
(
loop_end
);
comparison
=
get_condition_for_loop
(
last_loop_insn
);
if
(
comparison
==
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