summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_opt_undef.c
diff options
context:
space:
mode:
authorCaio Marcelo de Oliveira Filho <[email protected]>2019-06-12 16:48:21 -0700
committerCaio Marcelo de Oliveira Filho <[email protected]>2019-06-26 14:13:02 -0700
commit085c0f1f13ca14e8d91c9dec64debcd95334389d (patch)
treefb44a2094775883bc1142b1b90947390f0c65394 /src/compiler/nir/nir_opt_undef.c
parent5a143965b8f4119501e973d15f7f72673b3ce416 (diff)
nir/algebraic: Add helpers and a rule involving wrapping
The helpers are needed so we can use the syntax `instr(cond)` in the algebraic rules. Add simple rule for dropping a pair of mul-div of the same value when wrapping is guaranteed to not happen. Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir_opt_undef.c')
0 files changed, 0 insertions, 0 deletions