[all-commits] [llvm/llvm-project] d24e10: [OpenMP] Fixed a crash when offloading to x86_64 w...
Shilei Tian via All-commits
all-commits at lists.llvm.org
Fri Mar 5 09:42:34 PST 2021
Branch: refs/heads/release/12.x
Home: https://github.com/llvm/llvm-project
Commit: d24e102ba2665dc6cd467f467813fba9c8261133
https://github.com/llvm/llvm-project/commit/d24e102ba2665dc6cd467f467813fba9c8261133
Author: Shilei Tian <tianshilei1992 at gmail.com>
Date: 2021-03-05 (Fri, 05 Mar 2021)
Changed paths:
A openmp/libomptarget/test/offloading/bug49334.cpp
M openmp/runtime/src/kmp_tasking.cpp
Log Message:
-----------
[OpenMP] Fixed a crash when offloading to x86_64 with target nowait
PR#49334 reports a crash when offloading to x86_64 with `target nowait`,
which is caused by referencing a nullptr. The root cause of the issue is, when
pushing a hidden helper task in `__kmp_push_task`, it also maps the gtid to its
shadow gtid, which is wrong.
Reviewed By: jdoerfert
Differential Revision: https://reviews.llvm.org/D97329
(cherry picked from commit e5da63d5a9ede1fb6d8aa18cfd44533ead128738)
More information about the All-commits
mailing list