commit | bab3ff9578e9cda80228a250bcda51dfb0bff0fb | [log] [tgz] |
---|---|---|
author | Shilei Tian <tianshilei1992@gmail.com> | Wed Feb 24 12:37:22 2021 -0500 |
committer | Copybara-Service <copybara-worker@google.com> | Sat Feb 27 00:09:28 2021 -0800 |
tree | c7420358338c779a9b02aaac08142a2a14c56b70 | |
parent | 63f800526cd7678eec073ff2854fd1a8103be867 [diff] |
[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 GitOrigin-RevId: e5da63d5a9ede1fb6d8aa18cfd44533ead128738