[LLVMdev] counting branch frequencies
Alastair Murray
alastairmurray42 at gmail.com
Wed Sep 19 09:30:19 PDT 2012
Hi Apala,
On 19/09/12 10:53, apala guha wrote:
> opt -O3 -profile-loader matmult.bc -o matmult.opt.bc (works)
> opt -profile-loader -O3 matmult.bc -o matmult.opt.bc (does not work)
What arguments do you use when using the -insert-edge-profiling pass?
The CFG must be _identical_ just before -insert-edge-profiling and
-profile-loader are used (i.e. for the two invocations of opt the exact
same pass sequence must be used up until the relevant profiling pass).
Regards,
Alastair.
More information about the llvm-dev
mailing list