Hi Jeff, > We want to do the aggressive hoisting by pretending the first insn has a > VXRM need, even if the function has calls. What we want to know is > whether or not there is a path from entry to each VXRM use point that > does not pass through a call or otherwise clobbers VXRM. If there is any > such path then pretend we have a VXRM demand on the first insn.
I was just wondering if we can even be simpler, to ignore all the call sites in singleton_vxrm_need. Even if every path from the entry to the VXRM use passes through a call, and the singleton VXRM write we insert at the function entry is redundant, it seems that later dead code elimination can always remove that write, so the effect should be the same. Bohan
