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
b5a696fb
Commit
b5a696fb
authored
23 years ago
by
Roman Zippel
Committed by
Richard Henderson
23 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* cse.c (cse_basic_block): Skip note instructions.
From-SVN: r45221
parent
fa4e13e0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
gcc/ChangeLog
+4
-0
gcc/cse.c
+5
-4
No files found.
gcc/ChangeLog
View file @
b5a696fb
2001
-
08
-
27
Roman
Zippel
<
zippel
@linux
-
m68k
.
org
>
*
cse
.
c
(
cse_basic_block
)
:
Skip
note
instructions
.
2001
-
08
-
27
Richard
Henderson
<
rth
@redhat
.
com
>
*
combine
.
c
(
combine_simplify_rtx
)
:
Don
'
t
reverse
condition
...
...
This diff is collapsed.
Click to expand it.
gcc/cse.c
View file @
b5a696fb
...
...
@@ -7354,14 +7354,15 @@ cse_basic_block (from, to, next_branch, around_loop)
we can cse into the loop. Don't do this if we changed the jump
structure of a loop unless we aren't going to be following jumps. */
insn
=
prev_nonnote_insn
(
to
);
if
((
cse_jumps_altered
==
0
||
(
flag_cse_follow_jumps
==
0
&&
flag_cse_skip_blocks
==
0
))
&&
around_loop
&&
to
!=
0
&&
GET_CODE
(
to
)
==
NOTE
&&
NOTE_LINE_NUMBER
(
to
)
==
NOTE_INSN_LOOP_END
&&
GET_CODE
(
PREV_INSN
(
to
)
)
==
JUMP_INSN
&&
JUMP_LABEL
(
PREV_INSN
(
to
)
)
!=
0
&&
LABEL_NUSES
(
JUMP_LABEL
(
PREV_INSN
(
to
)
))
==
1
)
cse_around_loop
(
JUMP_LABEL
(
PREV_INSN
(
to
)
));
&&
GET_CODE
(
insn
)
==
JUMP_INSN
&&
JUMP_LABEL
(
insn
)
!=
0
&&
LABEL_NUSES
(
JUMP_LABEL
(
insn
))
==
1
)
cse_around_loop
(
JUMP_LABEL
(
insn
));
free
(
qty_table
+
max_reg
);
...
...
This diff is collapsed.
Click to expand it.
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