redex icon indicating copy to clipboard operation
redex copied to clipboard

Identical Code Folding (ICF) optimization

Open ufarooq opened this issue 1 year ago • 4 comments

Is there any existing pass related to Identical Code Folding (ICF) optimization? Or is anyone working on related ideas internally at Meta or outside? I would love to hear about it and contribute if there is any effort. A couple of relevant resources are listed below.

  1. Identical Code Folding https://tetzank.github.io/posts/identical-code-folding/
  2. Safe ICF: Pointer Safe and Unwinding Aware Identical Code Folding in Gold, Sriraman Tallam, Cary Coutant, Xinliang David Li, Chris Demetriou

Bests, Umar

ufarooq avatar Dec 14 '22 19:12 ufarooq