Closed codyhu closed 1 year ago
Hi @codyhu
you can add markers to your programs by invoking instrument_program
from the dead_instrumenter package on your code. An example use can be found here.
The markers hinder optimizations. This, for example, has been pointed out in issue #30 . If you want to reuse the information gained from the markers on the benchmark, you'll mostly be out of luck as there's not much dead code in more realistic code (compared to csmith code). Thus, you have few opportunities to optimize in the first place.
Got it, Thx.
Closing because it seems to be resolved
Hello, after reading the paper, I think it is a very interesting and meaningful work.
In the meantime, I have some specific questions and would like your answers.
On the basis of the first question, if I can insert the corresponding DCEMarker into some benchmarks, such as spec, can it also help the compiler to optimize its performance?
Hope to get your reply ASAP.
Thx again.