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
3faf75d4
Commit
3faf75d4
authored
Oct 07, 2019
by
Aldy Hernandez
Committed by
Aldy Hernandez
Oct 07, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use value_range_base::num_pairs instead of vrp_val_is* to check if a range
has one sub-range. From-SVN: r276653
parent
7a324846
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
gcc/ChangeLog
+7
-1
gcc/tree-vrp.c
+1
-4
No files found.
gcc/ChangeLog
View file @
3faf75d4
2019-10-07 Aldy Hernandez <aldyh@redhat.com>
* tree-vrp.c (value_range_base::singleton_p): Use
value_range_base::num_pairs instead of vrp_val_is* to check
if a range has one sub-range.
2019-10-07 Richard Sandiford <richard.sandiford@arm.com>
* ira-lives.c (check_and_make_def_conflict): Handle cases in which
...
...
@@ -179,7 +185,7 @@
2019-10-04 Aldy Hernandez <aldyh@redhat.com>
(value_range_from_overflowed_bounds): Rename from
* range-op.o
(value_range_from_overflowed_bounds): Rename from
adjust_overflow_bound.
(value_range_with_overflow): Rename from
create_range_with_overflow.
...
...
gcc/tree-vrp.c
View file @
3faf75d4
...
...
@@ -379,10 +379,7 @@ value_range_base::singleton_p (tree *result) const
}
return
false
;
}
/* An anti-range that includes an extreme, is just a range with
one sub-range. Use the one sub-range. */
if
(
vrp_val_is_min
(
m_min
,
true
)
||
vrp_val_is_max
(
m_max
,
true
))
if
(
num_pairs
()
==
1
)
{
value_range_base
vr0
,
vr1
;
ranges_from_anti_range
(
this
,
&
vr0
,
&
vr1
,
true
);
...
...
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