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
453331a3
Commit
453331a3
authored
Feb 24, 1994
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(maybe_eliminate_biv_1): Ignore GIV if it isn't always computed.
From-SVN: r6616
parent
f67ff5de
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
gcc/loop.c
+5
-5
No files found.
gcc/loop.c
View file @
453331a3
...
@@ -5971,7 +5971,7 @@ maybe_eliminate_biv_1 (x, insn, bl, eliminate_p, where)
...
@@ -5971,7 +5971,7 @@ maybe_eliminate_biv_1 (x, insn, bl, eliminate_p, where)
for
(
v
=
bl
->
giv
;
v
;
v
=
v
->
next_iv
)
for
(
v
=
bl
->
giv
;
v
;
v
=
v
->
next_iv
)
if
(
CONSTANT_P
(
v
->
mult_val
)
&&
v
->
mult_val
!=
const0_rtx
if
(
CONSTANT_P
(
v
->
mult_val
)
&&
v
->
mult_val
!=
const0_rtx
&&
v
->
add_val
==
const0_rtx
&&
v
->
add_val
==
const0_rtx
&&
!
v
->
ignore
&&
!
v
->
maybe_dead
&&
!
v
->
ignore
&&
!
v
->
maybe_dead
&&
v
->
always_computable
&&
v
->
mode
==
mode
)
&&
v
->
mode
==
mode
)
{
{
if
(
!
eliminate_p
)
if
(
!
eliminate_p
)
...
@@ -5996,7 +5996,7 @@ maybe_eliminate_biv_1 (x, insn, bl, eliminate_p, where)
...
@@ -5996,7 +5996,7 @@ maybe_eliminate_biv_1 (x, insn, bl, eliminate_p, where)
for
(
v
=
bl
->
giv
;
v
;
v
=
v
->
next_iv
)
for
(
v
=
bl
->
giv
;
v
;
v
=
v
->
next_iv
)
if
(
CONSTANT_P
(
v
->
mult_val
)
&&
v
->
mult_val
!=
const0_rtx
if
(
CONSTANT_P
(
v
->
mult_val
)
&&
v
->
mult_val
!=
const0_rtx
&&
!
v
->
ignore
&&
!
v
->
maybe_dead
&&
!
v
->
ignore
&&
!
v
->
maybe_dead
&&
v
->
always_computable
&&
v
->
mode
==
mode
)
&&
v
->
mode
==
mode
)
{
{
if
(
!
eliminate_p
)
if
(
!
eliminate_p
)
...
@@ -6053,7 +6053,7 @@ maybe_eliminate_biv_1 (x, insn, bl, eliminate_p, where)
...
@@ -6053,7 +6053,7 @@ maybe_eliminate_biv_1 (x, insn, bl, eliminate_p, where)
for
(
v
=
bl
->
giv
;
v
;
v
=
v
->
next_iv
)
for
(
v
=
bl
->
giv
;
v
;
v
=
v
->
next_iv
)
if
(
CONSTANT_P
(
v
->
mult_val
)
&&
INTVAL
(
v
->
mult_val
)
>
0
if
(
CONSTANT_P
(
v
->
mult_val
)
&&
INTVAL
(
v
->
mult_val
)
>
0
&&
CONSTANT_P
(
v
->
add_val
)
&&
CONSTANT_P
(
v
->
add_val
)
&&
!
v
->
ignore
&&
!
v
->
maybe_dead
&&
!
v
->
ignore
&&
!
v
->
maybe_dead
&&
v
->
always_computable
&&
v
->
mode
==
mode
)
&&
v
->
mode
==
mode
)
{
{
if
(
!
eliminate_p
)
if
(
!
eliminate_p
)
...
@@ -6089,7 +6089,7 @@ maybe_eliminate_biv_1 (x, insn, bl, eliminate_p, where)
...
@@ -6089,7 +6089,7 @@ maybe_eliminate_biv_1 (x, insn, bl, eliminate_p, where)
for
(
v
=
bl
->
giv
;
v
;
v
=
v
->
next_iv
)
for
(
v
=
bl
->
giv
;
v
;
v
=
v
->
next_iv
)
if
(
CONSTANT_P
(
v
->
mult_val
)
&&
INTVAL
(
v
->
mult_val
)
>
0
if
(
CONSTANT_P
(
v
->
mult_val
)
&&
INTVAL
(
v
->
mult_val
)
>
0
&&
!
v
->
ignore
&&
!
v
->
maybe_dead
&&
!
v
->
ignore
&&
!
v
->
maybe_dead
&&
v
->
always_computable
&&
v
->
mode
==
mode
)
&&
v
->
mode
==
mode
)
{
{
rtx
tem
;
rtx
tem
;
...
@@ -6120,7 +6120,7 @@ maybe_eliminate_biv_1 (x, insn, bl, eliminate_p, where)
...
@@ -6120,7 +6120,7 @@ maybe_eliminate_biv_1 (x, insn, bl, eliminate_p, where)
for
(
v
=
bl
->
giv
;
v
;
v
=
v
->
next_iv
)
for
(
v
=
bl
->
giv
;
v
;
v
=
v
->
next_iv
)
if
(
CONSTANT_P
(
v
->
mult_val
)
&&
INTVAL
(
v
->
mult_val
)
>
0
if
(
CONSTANT_P
(
v
->
mult_val
)
&&
INTVAL
(
v
->
mult_val
)
>
0
&&
!
v
->
ignore
&&
!
v
->
maybe_dead
&&
!
v
->
ignore
&&
!
v
->
maybe_dead
&&
v
->
always_computable
&&
v
->
mode
==
mode
)
&&
v
->
mode
==
mode
)
{
{
rtx
tem
;
rtx
tem
;
...
...
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