arcana-lab / noelle

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

add generalization for dataflow engine applying both forward and back… #126

Closed Pengxiang-Huang closed 4 months ago

Pengxiang-Huang commented 4 months ago

Changes I made:

  1. Add a function applyGeneralizedAnalysis to generalize the data flow engine applying both forward and backward.
  2. Change the api in applyForward from using applyCustomizableForwardAnalysis to using applyGeneralizedAnalysis.
  3. Delete the body of the original applyBackward function, now it calls the function applyGeneralizedAnalysis.
scampanoni commented 4 months ago

Unfortunately, this PR didn't pass the following performance tests: ################################### PERFORMANCE TESTS: Next are the performance tests that run slower: Performance degradation for DOALL_devirtualizer (from 45.9x to 8.2x) Performance degradation for DOALL_IV_inner (from 5.5x to 0.6x) Performance degradation for Scheduler2 (from 8.4x to 7.5x)