[LLVMdev] Deleting LiveVariables
Jakob Stoklund Olesen
stoklund at 2pi.dk
Fri Feb 8 16:24:45 PST 2013
On Feb 8, 2013, at 4:20 PM, Jakob Stoklund Olesen <stoklund at 2pi.dk> wrote:
> If you want to help with phi-elim, you could hack -early-live-intervals to insert LiveIntervals before phi-elim, and then run MF.verify(this) at the end of runOnMachineFunction(). That should be enough to check that phi-elim updates live intervals correctly even when 2-addr is going to break it later.
That reminds me: LiveRangeCalc::extendToUses() has code to deal with PHI instructions, but I am not sure it has ever actually met one. There could be lurking bugs.
/jakob
More information about the llvm-dev
mailing list