[LLVMdev] MergeInClobberRanges

Evan Cheng evan.cheng at apple.com
Mon Apr 7 10:52:20 PDT 2008


On Apr 2, 2008, at 5:09 PM, David Greene wrote:

> Why does LiveInterval::MergeInClobberRanges set the definition index
> as unknown?  Why would the definition index not be the definition  
> index
> for the range merged in from the other interval?  I suppose if two  
> ranges
> overlap it's not clear what to set the def index to.  Perhaps it  
> should result
> in two separate ranges with different def indices.

Right. The coalescer is being very conservative when it comes to  
dealing with sub- / super- registers so it's not keeping very precise  
information. Feel free to make it better! :-)

Evan

>
>
>                                                   -Dave
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev




More information about the llvm-dev mailing list