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
506f9fbf
Commit
506f9fbf
authored
Oct 20, 1999
by
Richard Earnshaw
Committed by
Richard Earnshaw
Oct 20, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(split_edge): Handle casesi insns.
From-SVN: r30101
parent
ee7b8369
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
gcc/ChangeLog
+1
-0
gcc/flow.c
+13
-0
No files found.
gcc/ChangeLog
View file @
506f9fbf
...
@@ -4,6 +4,7 @@ Wed Oct 20 10:46:41 1999 Richard Earnshaw (rearnsha@arm.com)
...
@@ -4,6 +4,7 @@ Wed Oct 20 10:46:41 1999 Richard Earnshaw (rearnsha@arm.com)
*
flow
.
c
(
merge_blocks_move_predecessor_nojumps
)
:
Re
-
order
the
basic
*
flow
.
c
(
merge_blocks_move_predecessor_nojumps
)
:
Re
-
order
the
basic
block
records
so
that
merge_blocks_nomove
will
clean
up
correctly
.
block
records
so
that
merge_blocks_nomove
will
clean
up
correctly
.
(
split_edge
)
:
Handle
casesi
insns
.
Tue
Oct
19
23
:
43
:
50
1999
Jeffrey
A
Law
(
law
@cygnus
.
com
)
Tue
Oct
19
23
:
43
:
50
1999
Jeffrey
A
Law
(
law
@cygnus
.
com
)
...
...
gcc/flow.c
View file @
506f9fbf
...
@@ -1484,6 +1484,19 @@ split_edge (edge_in)
...
@@ -1484,6 +1484,19 @@ split_edge (edge_in)
--
LABEL_NUSES
(
old_label
);
--
LABEL_NUSES
(
old_label
);
++
LABEL_NUSES
(
new_label
);
++
LABEL_NUSES
(
new_label
);
}
}
/* Handle casesi dispatch insns */
if
((
tmp
=
single_set
(
insn
))
!=
NULL
&&
SET_DEST
(
tmp
)
==
pc_rtx
&&
GET_CODE
(
SET_SRC
(
tmp
))
==
IF_THEN_ELSE
&&
GET_CODE
(
XEXP
(
SET_SRC
(
tmp
),
2
))
==
LABEL_REF
&&
XEXP
(
XEXP
(
SET_SRC
(
tmp
),
2
),
0
)
==
old_label
)
{
XEXP
(
SET_SRC
(
tmp
),
2
)
=
gen_rtx_LABEL_REF
(
VOIDmode
,
new_label
);
--
LABEL_NUSES
(
old_label
);
++
LABEL_NUSES
(
new_label
);
}
}
}
else
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