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

Local reducer tables #168

Closed neboat closed 1 year ago

neboat commented 1 year ago

This PR contains changes to the OpenCilk compiler to support a new implementation of reducers in the runtime system using only local reducer tables.

VoxSciurorum commented 1 year ago

Calling __hyper_lookup with bad arguments crashes the compiler. A fix is in branch jfc/local at 3437495bc28513c39876555aa4ba4ecdb593df04.

neboat commented 1 year ago

@VoxSciurorum I tried the jfc/local branch, and I'm getting a compiler crash when building Cilkscale. The crash seems to complain that the identity function for the ostream reducer has the wrong type.

VoxSciurorum commented 1 year ago

I fixed the crash. See 86f1475fe91b418856b64fc60890870ea30cdbbd. The cilkscale code was either not compiled on FreeBSD or was compiled with different options.

VoxSciurorum commented 1 year ago

The features in this pull request have already made their way into the compiler.