[LLVMdev] loop pragmas

Krzysztof Parzyszek kparzysz at codeaurora.org
Wed Nov 21 19:08:52 PST 2012


On 11/21/2012 9:05 PM, Hal Finkel wrote:
>
> I proposed something which has this property for OpenMP handling a few months ago. If any of it were dropped, or things became otherwise inconsistent, because of the cross-referencing, it would be possible to detect the problem and drop the entire parallel region. The problem with using this for OpenMP is that there are cases where dropping the entire parallel region is not a valid thing to do.

In another compiler that I know, the OpenMP directives were processed 
very early, before any other transformation that could have damaged them.

-Krzysztof

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, 
hosted by The Linux Foundation



More information about the llvm-dev mailing list