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
fe159061
Commit
fe159061
authored
Jan 04, 1997
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(basic_induction_var): Return 0 if SUBREG is not a promoted variable.
From-SVN: r13365
parent
c2ae5b5f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
gcc/loop.c
+2
-1
No files found.
gcc/loop.c
View file @
fe159061
/* Perform various loop optimizations, including strength reduction.
Copyright (C) 1987, 88, 89, 91-
5, 1996
Free Software Foundation, Inc.
Copyright (C) 1987, 88, 89, 91-
6, 1997
Free Software Foundation, Inc.
This file is part of GNU CC.
...
...
@@ -4989,6 +4989,7 @@ basic_induction_var (x, mode, dest_reg, p, inc_val, mult_val)
if
(
SUBREG_PROMOTED_VAR_P
(
x
))
return
basic_induction_var
(
SUBREG_REG
(
x
),
GET_MODE
(
SUBREG_REG
(
x
)),
dest_reg
,
p
,
inc_val
,
mult_val
);
return
0
;
case
REG
:
/* If this register is assigned in the previous insn, look at its
...
...
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