[LLVMbugs] Fix printing IntervalPartition

Chris Lattner sabre at nondot.org
Tue Apr 26 07:49:25 PDT 2005


On Tue, 26 Apr 2005, Vladimir Prus wrote:

>
> Hello,
> currently, printing of IntervalPartion does not seem to work:

Thanks, applied!

http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20050425/025846.html

-Chris

> $ analyze -intervals a.bc
> Printing analysis 'Interval Partition Construction' for function '_Z3bari':
> 0x85abf20
> Printing analysis 'Interval Partition Construction' for function '_Z3fooi':
> 0x85abf20
> 0x85abd98
>
> With the attached patch I get:
>
> $ analyze -intervals a.bc
> Printing analysis 'Interval Partition Construction' for function '_Z3bari':
> -------------------------------------------------------------
> Interval Contents:
>
> entry:
>        %tmp.0 = load int* %i           ; <int> [#uses=1]
>        %tmp.1 = setgt int %tmp.0, 10           ; <bool> [#uses=1]
>        br bool %tmp.1, label %then, label %UnifiedReturnBlock
> ...
>
> which looks more reasonable.
>
> - Volodya
>
>
>

-Chris

-- 
http://nondot.org/sabre/
http://llvm.cs.uiuc.edu/




More information about the llvm-bugs mailing list