Skip to content
Snippets Groups Projects

Inter procedural optimization

Merged Peter W. Draper requested to merge ipo into master

These patches enable inter procedural optimization for the GCC and Intel compilers. They may also work for the LLVM/clang.

Further response to #104 (closed).

Matthieu, I tried these and didn't see any improvements. Can you also check please.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Thanks !

    The improvement is not big but it might help. It can't harm for sure.

    I have tried a "dry run" in which all the tasks directly return without doing anything (note that they don't get optimised out). This essentially measures the overhead due to the scheduler and the construction of the tasks. The ipo did reduce the time of such a run and this is where the ipo is expected to do its job since the functions are scattered over multiple compilation units (engine.o, scheduler.o and runner.o mainly).

  • Matthieu Schaller Status changed to merged

    Status changed to merged

  • mentioned in commit d3f5f664

Please register or sign in to reply
Loading