OpenCilk / opencilk-project

Monorepo for the OpenCilk compiler. Forked from llvm/llvm-project and based on Tapir/LLVM.
Other
93 stars 29 forks source link

Fix peephole optimization sinking instructions past a sync #142

Closed neboat closed 1 year ago

neboat commented 1 year ago

Fix a bug where the InstCombine pass would sink instructions past a sync. Although this transformation is legal, it's a pessimization.