[all-commits] [llvm/llvm-project] e5da63: [OpenMP] Fixed a crash when offloading to x86_64 w...
Shilei Tian via All-commits
all-commits at lists.llvm.org
Wed Feb 24 09:37:51 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e5da63d5a9ede1fb6d8aa18cfd44533ead128738
https://github.com/llvm/llvm-project/commit/e5da63d5a9ede1fb6d8aa18cfd44533ead128738
Author: Shilei Tian <tianshilei1992 at gmail.com>
Date: 2021-02-24 (Wed, 24 Feb 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
More information about the All-commits
mailing list