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
8bb19658
Commit
8bb19658
authored
28 years ago
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(no_conflict_p): Reject sequences with foreign insns.
From-SVN: r13838
parent
3dbc43d1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
gcc/local-alloc.c
+6
-2
No files found.
gcc/local-alloc.c
View file @
8bb19658
...
...
@@ -2364,8 +2364,12 @@ no_conflict_p (insn, r0, r1)
if
(
find_reg_note
(
p
,
REG_DEAD
,
r1
))
ok
=
1
;
if
(
reg_mentioned_p
(
r1
,
PATTERN
(
p
))
&&
!
find_reg_note
(
p
,
REG_NO_CONFLICT
,
r1
))
/* There must be a REG_NO_CONFLICT note on every insn, otherwise
some earlier optimization pass has inserted instructions into
the sequence, and it is not safe to perform this optimization.
Note that emit_no_conflict_block always ensures that this is
true when these sequences are created. */
if
(
!
find_reg_note
(
p
,
REG_NO_CONFLICT
,
r1
))
return
0
;
}
...
...
This diff is collapsed.
Click to expand it.
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