PrincetonUniversity / cpf

Collaborative Parallelization Framework (CPF)
MIT License
32 stars 4 forks source link

Profile Has Incomplete Allocation Coverage #6

Open SusanTan opened 4 years ago

SusanTan commented 4 years ago

Benchmark: 505.mcf How to reproduce: inlining enabled, check benchmark.collaborative-pipeline.dump image

sapostolakis commented 4 years ago

The problem here is that there is an indirect call. The sorting function in SPEC takes the compare function as a function pointer. Inlining would not help since sorting is a recursive function. A possible solution would be to specify the sorting function's memory footprint and never get into the function and stumble upon the cmp call.

SusanTan commented 4 years ago

image Benchmark: 525.x264 How to reproduce: inlining disabled, check benchmark.collaborative-pipeline.dump

sapostolakis commented 4 years ago

Commit ca93afe06c82a03097e7654adb222904f2743447 resolved a few of these incomplete coverage errors.