Commit b84cbdfd authored by Dylan Baker's avatar Dylan Baker

nir: Add is_not_negative helper function

This was taken from 636da124, and is
needed by the next patch.
parent f180b04d
......@@ -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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment