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
ecd40809
Commit
ecd40809
authored
Oct 23, 1996
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(can_combine_p): When SMALL_REGISTER_CLASSES is defined, avoid
substituting a return register into I3. From-SVN: r13006
parent
02214a5c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletions
+6
-1
gcc/combine.c
+6
-1
No files found.
gcc/combine.c
View file @
ecd40809
...
...
@@ -960,11 +960,16 @@ can_combine_p (insn, i3, pred, succ, pdest, psrc)
/* Don't extend the life of a hard register unless it is
user variable (if we have few registers) or it can't
fit into the desired register (meaning something special
is going on). */
is going on).
Also avoid substituting a return register into I3, because
reload can't handle a conflict with constraints of other
inputs. */
||
(
REGNO
(
src
)
<
FIRST_PSEUDO_REGISTER
&&
(
!
HARD_REGNO_MODE_OK
(
REGNO
(
src
),
GET_MODE
(
src
))
#ifdef SMALL_REGISTER_CLASSES
||
(
!
all_adjacent
&&
!
REG_USERVAR_P
(
src
))
||
(
FUNCTION_VALUE_REGNO_P
(
REGNO
(
src
))
&&
!
REG_USERVAR_P
(
src
))
#endif
))))
return
0
;
...
...
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