diff options
author | Jason Ekstrand <[email protected]> | 2018-12-13 13:50:51 -0600 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2019-01-08 00:38:30 +0000 |
commit | d8e3edb784d3afb313420fc8d58b491a57fad9c1 (patch) | |
tree | 1152ea4d0b27b346e53e4257cad1ad156ef1cb64 /scons | |
parent | a1c688517dee32c57af17d8e11029eb7470f52d4 (diff) |
nir/deref: Support casts and ptr_as_array in comparisons
The code which constructs deref paths already gives you the path
starting at the nearest deref_cast or deref_var. All we need to do for
casts is handle the case where the start of the path isn't a deref_var.
For ptr_as_array derefs, we just bail if we have any after the
divergence point between the two derefs. We may be able to do better in
the future but this works for now.
Reviewed-by: Alejandro PiƱeiro <[email protected]>
Reviewed-by: Caio Marcelo de Oliveira Filho <[email protected]>
Diffstat (limited to 'scons')
0 files changed, 0 insertions, 0 deletions