arcana-lab / noelle

NOELLE Offers Empowering LLVM Extensions
MIT License
72 stars 34 forks source link

Remove duplicate count in PDG stats #22

Closed vgene closed 3 years ago

vgene commented 3 years ago

In pdg_stats, the counting of stats are duplicated because there is an outer loop that goes through all functions, then in the inner loop, it goes through all the programLoops. Instead, this fix gets the forest from programLoops.