search for: readcycles

Displaying 3 results from an estimated 3 matches for "readcycles".

2008 Oct 31
2
[LLVMdev] Optimizations and debug info
...> For llvm.readcyclecounter, I think it's fine to inhibit > optimizations. It's hard to understand what it means if it > doesn't :-). Do you have an example where being able to > do optimizations would be useful? > > Dan > I don't have a real example for the readcycles, but I could think that a profiler wants to profile something, and inserts it and it ends up with: loop ... read_cycle_counter call_to_function read_cycle_counter .... Now, the presence of read_cycle_counter would prevent GVN from working in that loop, since read_cycle_counter would be...
2008 Nov 03
0
[LLVMdev] Optimizations and debug info
...; For llvm.readcyclecounter, I think it's fine to inhibit >> optimizations. It's hard to understand what it means if it >> doesn't :-). Do you have an example where being able to >> do optimizations would be useful? >> > I don't have a real example for the readcycles, but I could think > that a > profiler wants to profile something, and inserts it and it ends up > with: > > loop > ... > read_cycle_counter > call_to_function > read_cycle_counter > .... > > Now, the presence of read_cycle_counter would prevent GVN from...
2008 Nov 03
2
[LLVMdev] Optimizations and debug info
...#39;s fine to inhibit >>> optimizations. It's hard to understand what it means if it >>> doesn't :-). Do you have an example where being able to >>> do optimizations would be useful? >>> >>> >> I don't have a real example for the readcycles, but I could think >> that a >> profiler wants to profile something, and inserts it and it ends up >> with: >> >> loop >> ... >> read_cycle_counter >> call_to_function >> read_cycle_counter >> .... >> >> Now, the prese...