diff options
author | Caio Marcelo de Oliveira Filho <[email protected]> | 2019-02-25 20:37:59 -0800 |
---|---|---|
committer | Caio Marcelo de Oliveira Filho <[email protected]> | 2019-02-28 23:55:31 -0800 |
commit | 1458aa1f78edc22ded5b40f17c148a22fcabfda2 (patch) | |
tree | 2341bc981ecc6d16bcd931ac8c779b648bcbfbf7 /src/compiler/nir/meson.build | |
parent | 6c0de78cc257240b5e55e033b4df8d7d87dcdfa7 (diff) |
nir/copy_prop_vars: handle indirect vector elements
Differently than the direct case, the indirect array derefs of vector
are handled like regular derefs, with the exception that we ignore any
vector entry that has SSA values when performing a load. Such SSA
values don't help loading of the indirect unless we emit an if-ladder.
Copy_derefs are supported for indirects.
Also enable two tests that now pass.
v2: Remove unnecessary temporaries. Be clearer when identifying the
case where copy_entry doesn't help when we are dealing with an
indirect array_deref (of a vector). (Jason)
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/compiler/nir/meson.build')
0 files changed, 0 insertions, 0 deletions