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
603b4b92
Commit
603b4b92
authored
Jun 11, 2002
by
Jeff Law
Committed by
Jeff Law
Jun 11, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* loop.c (loop_regs_scan): Avoid useless generation of REG objects.
From-SVN: r54513
parent
1bb1f121
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletions
+3
-1
gcc/ChangeLog
+2
-0
gcc/loop.c
+1
-1
No files found.
gcc/ChangeLog
View file @
603b4b92
...
...
@@ -5,6 +5,8 @@
2002-06-11 Jeffrey Law <law@redhat.com>
* loop.c (loop_regs_scan): Avoid useless generation of REG objects.
* mips.c (function_arg_advance): gen_ashldi3 returns an INSN now,
not the pattern. So extract the pattern from the insn.
...
...
gcc/loop.c
View file @
603b4b92
...
...
@@ -9661,7 +9661,7 @@ loop_regs_scan (loop, extra_size)
if
(
LOOP_INFO
(
loop
)
->
has_call
)
for
(
i
=
0
;
i
<
FIRST_PSEUDO_REGISTER
;
i
++
)
if
(
TEST_HARD_REG_BIT
(
regs_invalidated_by_call
,
i
)
&&
rtx_varies_p
(
gen_rtx_REG
(
Pmode
,
i
),
/*for_alias=*/
1
))
&&
rtx_varies_p
(
regno_reg_rtx
[
i
],
1
))
{
regs
->
array
[
i
].
may_not_optimize
=
1
;
regs
->
array
[
i
].
set_in_loop
=
1
;
...
...
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