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
435a6d95
Commit
435a6d95
authored
Jul 11, 2019
by
Aldy Hernandez
Committed by
Aldy Hernandez
Jul 11, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not try to further refine a VR_UNDEFINED result when intersecting
value_ranges. From-SVN: r273377
parent
3e66e7b0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
gcc/ChangeLog
+6
-0
gcc/tree-vrp.c
+5
-0
No files found.
gcc/ChangeLog
View file @
435a6d95
2019-07-11 Aldy Hernandez <aldyh@redhat.com>
* tree-vrp.c (intersect_ranges): If we know the intersection is
empty, there is no need to conservatively add anything else to
the set.
2019-07-11 Richard Biener <rguenther@suse.de>
2019-07-11 Richard Biener <rguenther@suse.de>
PR middle-end/91131
PR middle-end/91131
...
...
gcc/tree-vrp.c
View file @
435a6d95
...
@@ -5977,6 +5977,11 @@ intersect_ranges (enum value_range_kind *vr0type,
...
@@ -5977,6 +5977,11 @@ intersect_ranges (enum value_range_kind *vr0type,
gcc_unreachable
();
gcc_unreachable
();
}
}
/* If we know the intersection is empty, there's no need to
conservatively add anything else to the set. */
if
(
*
vr0type
==
VR_UNDEFINED
)
return
;
/* As a fallback simply use { *VRTYPE, *VR0MIN, *VR0MAX } as
/* As a fallback simply use { *VRTYPE, *VR0MIN, *VR0MAX } as
result for the intersection. That's always a conservative
result for the intersection. That's always a conservative
correct estimate unless VR1 is a constant singleton range
correct estimate unless VR1 is a constant singleton range
...
...
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