summaryrefslogtreecommitdiffstats
path: root/m4
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2018-11-28 17:27:57 -0600
committerJason Ekstrand <[email protected]>2019-01-08 00:38:30 +0000
commit7e85480a67eea965481266bf4bcdb690b44e19bd (patch)
treebdc4b826f7b4807e2f43fb691dbfbc4002f5ab3d /m4
parent78d80f7db2fab78b1af96d5acf216d71448d7972 (diff)
nir/remove_dead_variables: Properly handle deref casts
We already detect any incomplete deref chains (where the deref is used for something other than another deref or a load/store) and flag the variable as used thanks to deref_used_for_not_store. All that's left to do is to properly skip casts when cleaning up. Reviewed-by: Alejandro PiƱeiro <[email protected]> Reviewed-by: Caio Marcelo de Oliveira Filho <[email protected]>
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions