summaryrefslogtreecommitdiffstats
path: root/src/util/register_allocate.c
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2020-03-09 14:20:50 -0700
committerMarge Bot <[email protected]>2020-03-10 16:01:39 +0000
commitdd2e050a8422aed2f4de601b3894cbba94ba30bb (patch)
tree69ad95e490786f798c4d3467ad5cec521c4f0014 /src/util/register_allocate.c
parent36aed70b591f7f4f642b26f46f7928be6d137e7b (diff)
util/ra: move NO_REG to header
In the select_reg callback, I want to be able to determine if a given node is already assigned, and if so what physical register has been assigned. Signed-off-by: Rob Clark <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4071>
Diffstat (limited to 'src/util/register_allocate.c')
-rw-r--r--src/util/register_allocate.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/util/register_allocate.c b/src/util/register_allocate.c
index 56517b5161c..4e97d82f23e 100644
--- a/src/util/register_allocate.c
+++ b/src/util/register_allocate.c
@@ -78,8 +78,6 @@
#include "util/bitset.h"
#include "register_allocate.h"
-#define NO_REG ~0U
-
struct ra_reg {
BITSET_WORD *conflicts;
unsigned int *conflict_list;