[llvm-dev] Printing the analysis result of lazy value info

Philip Reames via llvm-dev llvm-dev at lists.llvm.org
Mon Mar 11 10:18:12 PDT 2019


I'd have expected the command you ran to work.  I'm guessing there's
some bug that's crept in.

If you want to spend some time tracking it down, I'd be happy to review
a patch.

Philip

On 3/7/19 3:15 AM, Juneyoung Lee via llvm-dev wrote:
> Hello all,
>
> How can I see the result of lazy value info analysis?
>
> I ran a command `opt -lazy-value-info -correlated-propagation
> -print-lazy-value-info example.ll -disable-output` with a following
> program as the input:
>
> ```
> define i32 @f(i32 %a, i32 %b) {
>   %i = icmp eq i32 %a, 10
>   br i1 %i, label %A, label %B
> A:
>   %c = add i32 %a, 20
>   ret i32 %c
> B:
>   ret i32 0
> }
> ```
>
> However, it shows a following line only:
>
> ```
> LVI for function 'f':
> ```
>
> Thank you :)
> Juneyoung Lee
>
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190311/61948bc8/attachment.html>


More information about the llvm-dev mailing list