]> granicus.if.org Git - clang/commit
[OpenMP] Fix cancellation point in task with no cancel
authorJonas Hahnfeld <Hahnfeld@itc.rwth-aachen.de>
Fri, 17 Feb 2017 18:32:58 +0000 (18:32 +0000)
committerJonas Hahnfeld <Hahnfeld@itc.rwth-aachen.de>
Fri, 17 Feb 2017 18:32:58 +0000 (18:32 +0000)
commitf5e70210f247a8f746d0664f88e89140f959f15b
tree1e509debc5105c411acbb3f87de37d883f2b5a94
parent696f45e1309f4314286f8835ff6c50c548771bf4
[OpenMP] Fix cancellation point in task with no cancel

With tasks, the cancel may happen in another task. This has a different
region info which means that we can't find it here.

Differential Revision: https://reviews.llvm.org/D30091

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@295474 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGOpenMPRuntime.cpp
test/OpenMP/cancellation_point_codegen.cpp