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
592a6d1d
Commit
592a6d1d
authored
Jul 30, 2001
by
Jan Hubicka
Committed by
Jan Hubicka
Jul 30, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* combine.c (try_combine): Avoid barrier after noop jumps
From-SVN: r44470
parent
60e19e8b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
4 deletions
+11
-4
gcc/ChangeLog
+4
-0
gcc/combine.c
+7
-4
No files found.
gcc/ChangeLog
View file @
592a6d1d
Mon Jul 30 12:52:11 CEST 2001 Jan Hubicka <jh@suse.cz>
* combine.c (try_combine): Avoid barrier after noop jumps.
2001-07-29 Neil Booth <neil@cat.daikokuya.demon.co.uk>
* cpphash.h (struct cpp_reader): Remove import_warning.
...
...
gcc/combine.c
View file @
592a6d1d
...
...
@@ -2763,10 +2763,7 @@ try_combine (i3, i2, i1, new_direct_jump_p)
BARRIER following it since it may have initially been a
conditional jump. It may also be the last nonnote insn. */
if
(
GET_CODE
(
newpat
)
==
RETURN
||
any_uncondjump_p
(
i3
)
||
(
GET_CODE
(
newpat
)
==
SET
&&
SET_SRC
(
newpat
)
==
pc_rtx
&&
SET_DEST
(
newpat
)
==
pc_rtx
))
if
(
GET_CODE
(
newpat
)
==
RETURN
||
any_uncondjump_p
(
i3
))
{
*
new_direct_jump_p
=
1
;
...
...
@@ -2774,6 +2771,12 @@ try_combine (i3, i2, i1, new_direct_jump_p)
||
GET_CODE
(
temp
)
!=
BARRIER
)
emit_barrier_after
(
i3
);
}
/* An NOOP jump does not need barrier, but it does need cleaning up
of CFG. */
if
(
GET_CODE
(
newpat
)
==
SET
&&
SET_SRC
(
newpat
)
==
pc_rtx
&&
SET_DEST
(
newpat
)
==
pc_rtx
)
*
new_direct_jump_p
=
1
;
}
combine_successes
++
;
...
...
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