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
f351bfed
Commit
f351bfed
authored
Jan 11, 2005
by
Aldy Hernandez
Committed by
Aldy Hernandez
Jan 11, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* regrename.c (kill_value): Handle subreg's that won't simplify.
From-SVN: r93200
parent
eb701deb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
6 deletions
+11
-6
gcc/ChangeLog
+4
-0
gcc/regrename.c
+7
-6
No files found.
gcc/ChangeLog
View file @
f351bfed
2005-01-11 Aldy Hernandez <aldyh@redhat.com>
* regrename.c (kill_value): Handle subreg's that won't simplify.
2005-01-11 Richard Henderson <rth@redhat.com>
PR target/13366
...
...
gcc/regrename.c
View file @
f351bfed
...
...
@@ -1104,14 +1104,15 @@ kill_value_regno (unsigned int regno, unsigned int nregs,
static
void
kill_value
(
rtx
x
,
struct
value_data
*
vd
)
{
/* SUBREGS are supposed to have been eliminated by now. But some
ports, e.g. i386 sse, use them to smuggle vector type information
through to instruction selection. Each such SUBREG should simplify,
so if we get a NULL we've done something wrong elsewhere. */
rtx
orig_rtx
=
x
;
if
(
GET_CODE
(
x
)
==
SUBREG
)
x
=
simplify_subreg
(
GET_MODE
(
x
),
SUBREG_REG
(
x
),
GET_MODE
(
SUBREG_REG
(
x
)),
SUBREG_BYTE
(
x
));
{
x
=
simplify_subreg
(
GET_MODE
(
x
),
SUBREG_REG
(
x
),
GET_MODE
(
SUBREG_REG
(
x
)),
SUBREG_BYTE
(
x
));
if
(
x
==
NULL_RTX
)
x
=
SUBREG_REG
(
orig_rtx
);
}
if
(
REG_P
(
x
))
{
unsigned
int
regno
=
REGNO
(
x
);
...
...
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