summaryrefslogtreecommitdiff
path: root/src/compiler/nir/nir_search.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/nir/nir_search.h')
-rw-r--r--src/compiler/nir/nir_search.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/compiler/nir/nir_search.h b/src/compiler/nir/nir_search.h
index 2a7e9a2f0fe..fb56592cdd4 100644
--- a/src/compiler/nir/nir_search.h
+++ b/src/compiler/nir/nir_search.h
@@ -142,8 +142,11 @@ typedef struct {
/** In a replacement, requests that the instruction be marked exact. */
bool exact : 1;
+ /** Don't make the replacement exact if the search expression is exact. */
+ bool ignore_exact : 1;
+
/* One of nir_op or nir_search_op */
- uint16_t opcode : 14;
+ uint16_t opcode : 13;
/* Commutative expression index. This is assigned by opt_algebraic.py when
* search structures are constructed and is a unique (to this structure)