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
1786009e
Commit
1786009e
authored
Nov 26, 2000
by
Zack Weinberg
Committed by
Zack Weinberg
Nov 26, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* combine.c (try_combine): Remove redundant test.
From-SVN: r37750
parent
213858c0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
16 deletions
+17
-16
gcc/ChangeLog
+4
-0
gcc/combine.c
+13
-16
No files found.
gcc/ChangeLog
View file @
1786009e
2000-11-25 Zack Weinberg <zack@wolery.stanford.edu>
* combine.c (try_combine): Remove redundant test.
2000-11-25 Richard Henderson <rth@redhat.com>
* c-common.h (DECL_C_HARD_REGISTER): New.
...
...
gcc/combine.c
View file @
1786009e
...
...
@@ -2552,22 +2552,19 @@ try_combine (i3, i2, i1, new_direct_jump_p)
if
(
i3_subst_into_i2
&&
GET_CODE
(
PATTERN
(
i2
))
==
PARALLEL
)
{
if
(
GET_CODE
(
PATTERN
(
i2
))
==
PARALLEL
)
{
for
(
i
=
0
;
i
<
XVECLEN
(
PATTERN
(
i2
),
0
);
i
++
)
if
(
GET_CODE
(
SET_DEST
(
XVECEXP
(
PATTERN
(
i2
),
0
,
i
)))
==
REG
&&
SET_DEST
(
XVECEXP
(
PATTERN
(
i2
),
0
,
i
))
!=
i2dest
&&
!
find_reg_note
(
i2
,
REG_UNUSED
,
SET_DEST
(
XVECEXP
(
PATTERN
(
i2
),
0
,
i
))))
for
(
temp
=
NEXT_INSN
(
i2
);
temp
&&
(
this_basic_block
==
n_basic_blocks
-
1
||
BLOCK_HEAD
(
this_basic_block
)
!=
temp
);
temp
=
NEXT_INSN
(
temp
))
if
(
temp
!=
i3
&&
INSN_P
(
temp
))
for
(
link
=
LOG_LINKS
(
temp
);
link
;
link
=
XEXP
(
link
,
1
))
if
(
XEXP
(
link
,
0
)
==
i2
)
XEXP
(
link
,
0
)
=
i3
;
}
for
(
i
=
0
;
i
<
XVECLEN
(
PATTERN
(
i2
),
0
);
i
++
)
if
(
GET_CODE
(
SET_DEST
(
XVECEXP
(
PATTERN
(
i2
),
0
,
i
)))
==
REG
&&
SET_DEST
(
XVECEXP
(
PATTERN
(
i2
),
0
,
i
))
!=
i2dest
&&
!
find_reg_note
(
i2
,
REG_UNUSED
,
SET_DEST
(
XVECEXP
(
PATTERN
(
i2
),
0
,
i
))))
for
(
temp
=
NEXT_INSN
(
i2
);
temp
&&
(
this_basic_block
==
n_basic_blocks
-
1
||
BLOCK_HEAD
(
this_basic_block
)
!=
temp
);
temp
=
NEXT_INSN
(
temp
))
if
(
temp
!=
i3
&&
INSN_P
(
temp
))
for
(
link
=
LOG_LINKS
(
temp
);
link
;
link
=
XEXP
(
link
,
1
))
if
(
XEXP
(
link
,
0
)
==
i2
)
XEXP
(
link
,
0
)
=
i3
;
if
(
i3notes
)
{
...
...
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