Skip to content
Snippets Groups Projects

Reorganization, global code motion, backward dataflow, loop tree construction, dom tree improvements, collapse region chains in CCP

Merged rarbore2 requested to merge ir_dev into main
  • Reorganized repo into hercules_ir, hercules_opt, and hercules_codegen
  • Implemented global code motion, as described in Click's thesis (nodes are placed as loop invariant, and then as control dependent as possible)
  • Generalized dataflow core code to work with backward dataflow, created backward dataflow helper
  • Construct loop tree from dom tree - identify loop back edges, identify natural loops, and identify tree structure
  • Various enhancements to dom tree (common ancestor, lowest amongst, chain iterator)
  • Collapse region chains during CCP
  • Various improvements to other parts of compiler, such as subgraph

Merge request reports

Checking pipeline status.

Approved by

Merged by rarbore2rarbore2 1 year ago (Oct 30, 2023 9:07pm UTC)

Merge details

  • Changes merged into main with 5537e3a1 (commits were squashed).
  • Deleted the source branch.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading