This is a port of libomp for the RISC-V 64-bit Linux target.
We have tested this port on a HiFive Unleashed development board using a downstream LLVM that has support for the missing bits in upstream. As of now, all tests are passing, including OMPT.
I don't think we need this, it's now handled at all call-sites of __kmp_invoke_microtask. I'll post a patch to resolve any inconsistencies.
AFAICT removing this should reduce some of the (conditional) complexity of the stack layout.