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
7aa20a86
Commit
7aa20a86
authored
May 02, 2006
by
Zdenek Dvorak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix mistake in my previous commit (n_of_executions_at_least should be
named n_of_executions_at_most). From-SVN: r113461
parent
d541888b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
gcc/tree-ssa-loop-niter.c
+5
-5
No files found.
gcc/tree-ssa-loop-niter.c
View file @
7aa20a86
...
...
@@ -1757,9 +1757,9 @@ stmt_dominates_stmt_p (tree s1, tree s2)
NITER_BOUND->bound times. */
static
bool
n_of_executions_at_
lea
st
(
tree
stmt
,
struct
nb_iter_bound
*
niter_bound
,
tree
niter
)
n_of_executions_at_
mo
st
(
tree
stmt
,
struct
nb_iter_bound
*
niter_bound
,
tree
niter
)
{
tree
cond
;
tree
bound
=
niter_bound
->
bound
;
...
...
@@ -1863,7 +1863,7 @@ convert_step_widening (struct loop *loop, tree new_type, tree base, tree step,
estimate_numbers_of_iterations_loop
(
loop
);
for
(
bound
=
loop
->
bounds
;
bound
;
bound
=
bound
->
next
)
if
(
n_of_executions_at_
lea
st
(
at_stmt
,
bound
,
valid_niter
))
if
(
n_of_executions_at_
mo
st
(
at_stmt
,
bound
,
valid_niter
))
return
step_in_new_type
;
/* Fail when the loop has no bound estimations, or when no bound can
...
...
@@ -2067,7 +2067,7 @@ scev_probably_wraps_p (tree type, tree base, tree step,
estimate_numbers_of_iterations_loop
(
loop
);
for
(
bound
=
loop
->
bounds
;
bound
;
bound
=
bound
->
next
)
if
(
n_of_executions_at_
lea
st
(
at_stmt
,
bound
,
valid_niter
))
if
(
n_of_executions_at_
mo
st
(
at_stmt
,
bound
,
valid_niter
))
return
false
;
/* At this point we still don't have a proof that the iv does not
...
...
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