aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sparsei
diff options
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2020-12-16 06:18:08 +0100
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2020-12-29 14:54:25 +0100
commitf554ff373bfd3914fa68b4983fd8f351840e70d8 (patch)
treee06b6c647a9fde09cb1d7ca28f16c48ea5937313 /sparsei
parent6956d2711272f2781690a79bae5bfa5ca3dada2e (diff)
downloadsparse-dev-f554ff373bfd3914fa68b4983fd8f351840e70d8.tar.gz
fix rem_usage()
rem_usage() is used to remove an element from a def-use chain. Optionally, if the chain become empty, the defining instruction can also be killed. This optional part is currently be done on all pseudos but only those having a definition should be concerned. Fix this by adding a check so that only PSEUDO_REGs and PSEUDO_PHIs are killed. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'sparsei')
0 files changed, 0 insertions, 0 deletions