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
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?