diff options
author | Johannes Doerfert <johannes@jdoerfert.de> | 2021-04-23 01:36:18 +0000 |
---|---|---|
committer | Johannes Doerfert <johannes@jdoerfert.de> | 2021-04-23 11:21:58 -0500 |
commit | 17330a3cb13aed9743f3f60eb8310c06aa34f1ca (patch) | |
tree | 5c1ebe24e15a0925990ac57156f9f6f877e3b913 /llvm/lib/CodeGen/MachineFunctionSplitter.cpp | |
parent | cbe8b57a675537183eaf8c32eaa6087cea3fc5da (diff) | |
download | llvm-17330a3cb13aed9743f3f60eb8310c06aa34f1ca.zip llvm-17330a3cb13aed9743f3f60eb8310c06aa34f1ca.tar.gz llvm-17330a3cb13aed9743f3f60eb8310c06aa34f1ca.tar.bz2 |
[OpenMP] Avoid reading uninitialized parallel level values
In a last minute change request for a2dbfb6b72db we introduced a
read of the uninitialized parallel level value in SPMD-mode.
We go back to initializing the array early and checking for an
adjusted level.
Found by the miniqmc unit tests:
https://cdash.qmcpack.org/CDash/viewTest.php?onlyfailed&buildid=203434
Reviewed By: JonChesterfield
Differential Revision: https://reviews.llvm.org/D101123
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunctionSplitter.cpp')
0 files changed, 0 insertions, 0 deletions