What if instead of exporting the information into the base decls we did
it on the RTL registers? This would mean changing the out-of-ssa phase.
What I'm thinking is to create a different RTL register per SSA name
and add the points-to sets to each of these registers. This would
preserve our flow-sensitive points-to information.
Similarly when lowering INDIRECT_REFs, the memory expressions that get
created would use the memory tag associated with the INDIRECT_REF, which
would give you a potentially different points-to set per mem.
Andrew Macleod was thinking of changing the out-of-ssa phase, but I am
not sure what he had in mind. Andrew, would something like this be doable?