Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
mesa
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1,888
Issues
1,888
List
Boards
Labels
Milestones
Merge Requests
313
Merge Requests
313
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mesa
mesa
Commits
b84cbdfd
Commit
b84cbdfd
authored
Sep 04, 2019
by
Dylan Baker
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nir: Add is_not_negative helper function
This was taken from
636da124
, and is needed by the next patch.
parent
f180b04d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
src/compiler/nir/nir_range_analysis.c
src/compiler/nir/nir_range_analysis.c
+6
-0
No files found.
src/compiler/nir/nir_range_analysis.c
View file @
b84cbdfd
...
...
@@ -31,6 +31,12 @@
* the result.
*/
static
bool
is_not_negative
(
enum
ssa_ranges
r
)
{
return
r
==
gt_zero
||
r
==
ge_zero
||
r
==
eq_zero
;
}
static
void
*
pack_data
(
const
struct
ssa_result_range
r
)
{
...
...
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