diff options
author | Jason Ekstrand <[email protected]> | 2019-03-04 12:12:48 -0600 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2019-05-31 01:08:03 +0000 |
commit | cc59503b161424f4d1e3f7214967233be9e1f093 (patch) | |
tree | 2c1ffed32bea5e3f9769a9618fc2d49455ec1696 /src/compiler/nir/nir_split_vars.c | |
parent | 911ea2c66fc54c5066707f7fe4451ec573792ae7 (diff) |
nir/vars_to_ssa: Properly ignore variables with complex derefs
Because the core principle of the vars_to_ssa pass is that it globally
(within a function) looks at all of the uses of a never-indirected path
and does a full into-SSA on that path, it can't handle a path which has
any chance of having aliasing. If a function_temp variable has a cast
or anything else which may cause aliasing, we have to assume that all
paths to that variable may alias and ignore the entire variable.
Reviewed-by: Dave Airlie <[email protected]>
Reviewed-by: Caio Marcelo de Oliveira Filho <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir_split_vars.c')
0 files changed, 0 insertions, 0 deletions