diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2017-11-02 14:25:34 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2017-11-02 14:25:34 +0000 |
commit | 0e1b45897ec9ac5de93a578edfe55021eb64bf5c (patch) | |
tree | 7ce91106f740ad548aa05a386acfd900d9778f2e /clang/test/OpenMP/parallel_sections_codegen.cpp | |
parent | 96087f38254ac1a655ceaea816937323b13e0dcf (diff) | |
download | bcm5719-llvm-0e1b45897ec9ac5de93a578edfe55021eb64bf5c.tar.gz bcm5719-llvm-0e1b45897ec9ac5de93a578edfe55021eb64bf5c.zip |
[OPENMP] Fix PR35156: Get correct thread id with windows exceptions.
If the thread id is requested in windows mode within funclets, we may
generate incorrect function call that could lead to broken codegen.
llvm-svn: 317208
Diffstat (limited to 'clang/test/OpenMP/parallel_sections_codegen.cpp')
-rw-r--r-- | clang/test/OpenMP/parallel_sections_codegen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/OpenMP/parallel_sections_codegen.cpp b/clang/test/OpenMP/parallel_sections_codegen.cpp index afbc6e4d5ef..a2614730361 100644 --- a/clang/test/OpenMP/parallel_sections_codegen.cpp +++ b/clang/test/OpenMP/parallel_sections_codegen.cpp @@ -74,7 +74,7 @@ int main() { // CHECK-LABEL: tmain // CHECK: call void {{.*}} @__kmpc_fork_call( -// CHECK: __kmpc_global_thread_num +// CHECK-NOT: __kmpc_global_thread_num // CHECK: call void @__kmpc_for_static_init_4( // CHECK: invoke void @{{.*}}foo{{.*}}() // CHECK-NEXT: unwind label %[[TERM_LPAD:.+]] |