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
66aa2d30
Commit
66aa2d30
authored
May 15, 2001
by
Jan Hubicka
Committed by
Jan Hubicka
May 15, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* recog.c (apply_change_group): Avoid unneeded validating.
From-SVN: r42106
parent
5be598f6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletions
+10
-1
gcc/ChangeLog
+4
-0
gcc/recog.c
+6
-1
No files found.
gcc/ChangeLog
View file @
66aa2d30
Tue
May
15
13
:
51
:
32
CEST
2001
Jan
Hubicka
<
jh
@suse
.
cz
>
*
recog
.
c
(
apply_change_group
)
:
Avoid
unneeded
validating
.
2001
-
05
-
14
David
Edelsohn
<
edelsohn
@gnu
.
org
>
*
rs6000
.
c
(
num_insns_constant_wide
)
:
Constants
are
sign
-
extended
.
...
...
gcc/recog.c
View file @
66aa2d30
...
...
@@ -314,6 +314,7 @@ int
apply_change_group
()
{
int
i
;
rtx
last_validated
=
NULL_RTX
;
/* The changes have been applied and all INSN_CODEs have been reset to force
rerecognition.
...
...
@@ -328,7 +329,9 @@ apply_change_group ()
{
rtx
object
=
changes
[
i
].
object
;
if
(
object
==
0
)
/* if there is no object to test or if it is the same as the one we
already tested, ignore it. */
if
(
object
==
0
||
object
==
last_validated
)
continue
;
if
(
GET_CODE
(
object
)
==
MEM
)
...
...
@@ -374,6 +377,7 @@ apply_change_group ()
but this shouldn't occur. */
validate_change
(
object
,
&
PATTERN
(
object
),
newpat
,
1
);
continue
;
}
else
if
(
GET_CODE
(
pat
)
==
USE
||
GET_CODE
(
pat
)
==
CLOBBER
)
/* If this insn is a CLOBBER or USE, it is always valid, but is
...
...
@@ -382,6 +386,7 @@ apply_change_group ()
else
break
;
}
last_validated
=
object
;
}
if
(
i
==
num_changes
)
...
...
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