Commit bfa1afb8 authored by Johannes Doerfert's avatar Johannes Doerfert
Browse files

[OpenMPOpt] Improve __kmpc_alloc_shared handling

We know that __kmpc_alloc_shared is by construction matched with a
unique __kmpc_free_shared. Making the compiler aware of these facts
helps to avoid mallocs/allocas.

Fixes: https://github.com/llvm/llvm-project/issues/64551
parent b00b4697
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment