fix bug in alias analysis
commitbd7a73d0ea885285b77f10531464d5d354896a2b
authorQuentin Carbonneaux <quentin@c9x.me>
Thu, 7 Mar 2024 15:40:51 +0000 (7 16:40 +0100)
committerQuentin Carbonneaux <quentin@c9x.me>
Thu, 7 Mar 2024 15:40:51 +0000 (7 16:40 +0100)
tree7137bdf8a1a6d6d271518e3a36fc1929235701ca
parent2d683e0c53907ebca9abde876dd87af70719e42d
fix bug in alias analysis

The handling of phi was incorrect
and we would sometimes miss escapes.
We now handle phis at the very end
of the pass to make sure the defs
for their arguments have all been
processed.
alias.c
test/alias1.ssa [new file with mode: 0644]