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
89e94470
Commit
89e94470
authored
Aug 29, 2015
by
Anatoly Sokolov
Committed by
Anatoly Sokolov
Aug 29, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove redundant use of REG_CLASS_NAMES maros
From-SVN: r227318
parent
34ae233a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
gcc/ChangeLog
+8
-0
gcc/ira.c
+2
-4
No files found.
gcc/ChangeLog
View file @
89e94470
2015
-
08
-
29
Anatoly
Sokolov
<
aesok
@
post
.
ru
>
*
ira
.
c
(
print_unform_and_important_classes
,
print_translated_classes
):
Remove
reg_class_names
static
array
.
(
print_unform_and_important_classes
):
Rename
to
...
(
print_uniform_and_important_classes
):
...
this
.
(
ira_debug_allocno_classes
):
Update
accordingly
.
2015
-
08
-
29
Tom
de
Vries
<
tom
@
codesourcery
.
com
>
2015
-
08
-
29
Tom
de
Vries
<
tom
@
codesourcery
.
com
>
PR
tree
-
optimization
/
46193
PR
tree
-
optimization
/
46193
...
...
gcc/ira.c
View file @
89e94470
...
@@ -1376,9 +1376,8 @@ setup_reg_class_relations (void)
...
@@ -1376,9 +1376,8 @@ setup_reg_class_relations (void)
/* Output all uniform and important classes into file F. */
/* Output all uniform and important classes into file F. */
static
void
static
void
print_unform_and_important_classes
(
FILE
*
f
)
print_un
i
form_and_important_classes
(
FILE
*
f
)
{
{
static
const
char
*
const
reg_class_names
[]
=
REG_CLASS_NAMES
;
int
i
,
cl
;
int
i
,
cl
;
fprintf
(
f
,
"Uniform classes:
\n
"
);
fprintf
(
f
,
"Uniform classes:
\n
"
);
...
@@ -1403,7 +1402,6 @@ print_translated_classes (FILE *f, bool pressure_p)
...
@@ -1403,7 +1402,6 @@ print_translated_classes (FILE *f, bool pressure_p)
enum
reg_class
*
class_translate
=
(
pressure_p
enum
reg_class
*
class_translate
=
(
pressure_p
?
ira_pressure_class_translate
?
ira_pressure_class_translate
:
ira_allocno_class_translate
);
:
ira_allocno_class_translate
);
static
const
char
*
const
reg_class_names
[]
=
REG_CLASS_NAMES
;
int
i
;
int
i
;
fprintf
(
f
,
"%s classes:
\n
"
,
pressure_p
?
"Pressure"
:
"Allocno"
);
fprintf
(
f
,
"%s classes:
\n
"
,
pressure_p
?
"Pressure"
:
"Allocno"
);
...
@@ -1420,7 +1418,7 @@ print_translated_classes (FILE *f, bool pressure_p)
...
@@ -1420,7 +1418,7 @@ print_translated_classes (FILE *f, bool pressure_p)
void
void
ira_debug_allocno_classes
(
void
)
ira_debug_allocno_classes
(
void
)
{
{
print_unform_and_important_classes
(
stderr
);
print_un
i
form_and_important_classes
(
stderr
);
print_translated_classes
(
stderr
,
false
);
print_translated_classes
(
stderr
,
false
);
print_translated_classes
(
stderr
,
true
);
print_translated_classes
(
stderr
,
true
);
}
}
...
...
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