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
715e6efb
Commit
715e6efb
authored
Aug 11, 1992
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(copy_loop_body): Only copy VTOP note if it will end up
before a loop exit test. From-SVN: r1796
parent
899eb12d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletions
+6
-1
gcc/unroll.c
+6
-1
No files found.
gcc/unroll.c
View file @
715e6efb
...
...
@@ -1807,7 +1807,12 @@ copy_loop_body (copy_start, copy_end, map, exit_label, last_iteration,
break
;
case
NOTE
:
if
(
NOTE_LINE_NUMBER
(
insn
)
!=
NOTE_INSN_DELETED
)
/* VTOP notes are valid only before the loop exit test. If placed
anywhere else, loop may generate bad code. */
if
(
NOTE_LINE_NUMBER
(
insn
)
!=
NOTE_INSN_DELETED
&&
(
NOTE_LINE_NUMBER
(
insn
)
!=
NOTE_INSN_LOOP_VTOP
||
(
last_iteration
&&
unroll_type
!=
UNROLL_COMPLETELY
)))
copy
=
emit_note
(
NOTE_SOURCE_FILE
(
insn
),
NOTE_LINE_NUMBER
(
insn
));
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