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
bc04d12c
Commit
bc04d12c
authored
Jun 23, 2001
by
Jan Hubicka
Committed by
Jan Hubicka
Jun 23, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* flow.c (attempt_auto_inc, try_pre_increment_1): Fix typo.
From-SVN: r43527
parent
503bf078
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
gcc/ChangeLog
+4
-0
gcc/flow.c
+2
-2
No files found.
gcc/ChangeLog
View file @
bc04d12c
Sat
Jun
23
10
:
20
:
03
CEST
2001
Jan
Hubicka
<
jh
@suse
.
cz
>
*
flow
.
c
(
attempt_auto_inc
,
try_pre_increment_1
)
:
Fix
typo
.
Sat
Jun
23
01
:
23
:
59
CEST
2001
Jan
Hubicka
<
jh
@suse
.
cz
>
*
flow
.
c
(
mark_set_1
,
attempt_auto_inc
,
mark_used_reg
,
...
...
gcc/flow.c
View file @
bc04d12c
...
...
@@ -5526,7 +5526,7 @@ attempt_auto_inc (pbi, inc, insn, mem, incr, incr_reg)
/* Count an extra reference to the reg. When a reg is
incremented, spilling it is worse, so we want to make
that less likely. */
REG_FREQ
(
regno
)
+=
(
optimize_size
||
!
p
h
i
->
bb
->
frequency
REG_FREQ
(
regno
)
+=
(
optimize_size
||
!
p
b
i
->
bb
->
frequency
?
1
:
pbi
->
bb
->
frequency
);
/* Count the increment as a setting of the register,
...
...
@@ -6115,7 +6115,7 @@ try_pre_increment_1 (pbi, insn)
so we want to make that less likely. */
if
(
regno
>=
FIRST_PSEUDO_REGISTER
)
{
REG_FREQ
(
regno
)
+=
(
optimize_size
||
!
p
h
i
->
bb
->
frequency
REG_FREQ
(
regno
)
+=
(
optimize_size
||
!
p
b
i
->
bb
->
frequency
?
1
:
pbi
->
bb
->
frequency
);
REG_N_SETS
(
regno
)
++
;
}
...
...
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