diff options
author | Caio Marcelo de Oliveira Filho <[email protected]> | 2019-06-12 16:48:21 -0700 |
---|---|---|
committer | Caio Marcelo de Oliveira Filho <[email protected]> | 2019-06-26 14:13:02 -0700 |
commit | 085c0f1f13ca14e8d91c9dec64debcd95334389d (patch) | |
tree | fb44a2094775883bc1142b1b90947390f0c65394 /src/compiler/nir/nir_opt_undef.c | |
parent | 5a143965b8f4119501e973d15f7f72673b3ce416 (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