diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2017-08-16 14:01:00 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2017-08-16 14:01:00 +0000 |
commit | aee18557f7b2c9b446ffd8718a9938d8c8069526 (patch) | |
tree | b57d6759279ee5804282812dbb6adcea6dd75900 /llvm/lib/CodeGen/MachineInstr.cpp | |
parent | ff64aa514b707cb42013f9389bac7535c7d2cef4 (diff) | |
download | bcm5719-llvm-aee18557f7b2c9b446ffd8718a9938d8c8069526.tar.gz bcm5719-llvm-aee18557f7b2c9b446ffd8718a9938d8c8069526.zip |
[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.
llvm-svn: 311007
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions