diff options
author | Caio Marcelo de Oliveira Filho <[email protected]> | 2018-09-14 18:17:51 -0700 |
---|---|---|
committer | Caio Marcelo de Oliveira Filho <[email protected]> | 2018-10-15 17:29:46 -0700 |
commit | dc349f07b5f9c257f68ecf0cbb89f9722a42233a (patch) | |
tree | 15f435f6946d7c7231a1cfe7b78e166d3d0c9da9 /scons | |
parent | 797f01c220aa22a1381d81479fe86033e41a9147 (diff) |
nir: Take call instruction into account in copy_prop_vars
Calls are not used yet (functions are inlined), but since new code is
already taking them into account, do it here too. The convention here
and in other places is that no writable memory is assumed to remain
unchanged, as well as global variables.
Also, explicitly state the modes affected (instead of using the
reverse logic) in one of the apply_for_barrier_modes calls.
Suggested by Jason.
v2: Consider local vars used by a call to be conservative, SPIR-V has
such cases. (Jason)
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'scons')
0 files changed, 0 insertions, 0 deletions