[llvm-dev] No statistic output with opt

Julien Klaus via llvm-dev llvm-dev at lists.llvm.org
Wed Jan 27 09:56:39 PST 2016


Hello,

I´m new with the LLVM-Project and I want to understand the optimizer. 
When I run the opt command with -stats and a bitcode file, I get no 
output. For example

     opt -stats -adce test.bc

returns nothing.
I have clang and llvm version 3.4 installed. The option -time-passes 
works as expected.
The file test.c, which I have converted to test.bc with clang, contains 
only a simple function.

Is there something wrong in my approach?

Best regards
Julien Klaus


More information about the llvm-dev mailing list