Re: -fprofile-arcs changes the structure of basic blocks

2005-06-27 Thread Liu Haibin
I found that the optimization must be on in order to see the frequency. Timothy On 6/24/05, Liu Haibin <[EMAIL PROTECTED]> wrote: > Then I think I shouldn't use -fprofile-arcs. The reason why I used > -fprofile-arcs is when I debugged a program without any flags, I saw > the frequency was zero.

Re: -fprofile-arcs changes the structure of basic blocks

2005-06-23 Thread Liu Haibin
Then I think I shouldn't use -fprofile-arcs. The reason why I used -fprofile-arcs is when I debugged a program without any flags, I saw the frequency was zero. When I added this flag, I saw frequency with values. I checked the frequency after life_analysis and before combine_instructions. I used

Re: -fprofile-arcs changes the structure of basic blocks

2005-06-23 Thread Daniel Berlin
On Thu, 23 Jun 2005, Liu Haibin wrote: Hi, I want to use profiling information. I know there're two relevent fields in each basic block, count and frequency. I want to use frequency because the compiled program is for another architecture so it cannot run on the host. Besides the fact that, a

Re: -fprofile-arcs changes the structure of basic blocks

2005-06-23 Thread Zdenek Dvorak
Hello, > I want to use profiling information. I know there're two relevent > fields in each basic block, count and frequency. I want to use > frequency because the compiled program is for another architecture so > it cannot run on the host. > > I use -fprofile-arcs. this does not make much sens