Hi,

I am trying to profile the frequency of each basic block of 
SPEC 2000 benchmarks by compiling them using -fprofile-arcs and opt -O3.
After running the benchmark, when I try to read "bb->count" while 
compiling
using "-fbranch-probabilities and -O3", I get "0" values for basic blocks
which were known to execute for sure. Any clue as to where I am missing?
Is "bb->count" is the right way to get the dynamic frequency in the second 
pass?

regards,
Raj

Reply via email to