[llvm-dev] Printing the analysis result of lazy value info
Juneyoung Lee via llvm-dev
llvm-dev at lists.llvm.org
Thu Mar 7 03:15:20 PST 2019
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190307/b3826be3/attachment.html>
More information about the llvm-dev
mailing list