HomePhabricator

[OPRNMP] Fix for PR33445: ICE: OpenMP target containing ordered for.

Description

[OPRNMP] Fix for PR33445: ICE: OpenMP target containing ordered for.

If exceptions are enabled, there may be a problem with the codegen of
the finalization functions from OpenMP runtime. It happens because of
the problem with the getting of thread identifier value. Patch tries to
fix it by using the result of the call of function
__kmpc_global_thread_num() rather than loading of value of outlined
function parameter.

Details

Committed
ABataevAug 16 2017, 7:01 AM
Parents
rL311006: [AMDGPU][MC][GFX9] Added integer clamping support for VOP3 opcodes
Branches
Unknown
Tags
Unknown