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
1f01879e
Commit
1f01879e
authored
Dec 17, 1999
by
Jan Hubicka
Committed by
Jan Hubicka
Dec 17, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* regclass.c (regclass): Do not use flowgraph when not optimizing.
From-SVN: r30993
parent
833fc3ad
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
gcc/ChangeLog
+2
-0
gcc/regclass.c
+7
-2
No files found.
gcc/ChangeLog
View file @
1f01879e
Fri
Dec
17
12
:
08
:
11
MET
1999
Jan
Hubicka
<
hubicka
@freesoftr
.
cz
>
*
regclass
.
c
(
regclass
)
:
Do
not
use
flowgraph
when
not
optimizing
.
*
gcse
.
c
(
try_replace_reg
)
:
Do
replacements
in
REG_EQUAL
/
REG_EQUIV
notes
too
,
create
one
when
replacement
failed
,
attempt
to
simplify
resulting
notes
.
...
...
gcc/regclass.c
View file @
1f01879e
...
...
@@ -1070,11 +1070,16 @@ regclass (f, nregs, dump)
bzero
(
in_inc_dec
,
nregs
);
#endif
loop_cost
=
1
;
/* Scan the instructions and record each time it would
save code to put a certain register in a certain class. */
if
(
!
optimize
)
{
loop_cost
=
1
;
for
(
insn
=
f
;
insn
;
insn
=
NEXT_INSN
(
insn
))
insn
=
scan_one_insn
(
insn
,
pass
);
}
else
for
(
index
=
0
;
index
<
n_basic_blocks
;
index
++
)
{
basic_block
bb
=
BASIC_BLOCK
(
index
);
...
...
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