[LLVMdev] Some questions about live intervals

Roman Levenstein romixlev at yahoo.com
Fri Feb 8 08:59:49 PST 2008


Hi Evan,

Here is a patch for the LiveIntervalAnalysis that we discussed.

--- Evan Cheng <evan.cheng at apple.com> schrieb:
> > 1) What is the easiest way to understand which MBB a given
> instruction index belongs to? All the required information is 
> available in the
> > MBB2IdxMap of the LiveIntervalAnalysis class. Would it be useful 
> to add  a small function getMBBFromIndex() to this class?
> 
> Sure there is a reverse map (actually just a vector) Idx2MBBMap. 
> Justadd a query.

Done. Please find a patch attached to this mail. 

> > As for (1) and (2), I could implement and provide patches for it,
> > if you think this is desirable.
> 
> Yes, thanks.

Here you are!

-Roman


      Lesen Sie Ihre E-Mails auf dem Handy.
www.yahoo.de/go
-------------- next part --------------
A non-text attachment was scrubbed...
Name: LiveIntervalAnalysis.patch
Type: text/x-diff
Size: 2377 bytes
Desc: 2881029184-LiveIntervalAnalysis.patch
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20080208/5cfee60e/attachment.patch>


More information about the llvm-dev mailing list