diff options
author | Shilei Tian <tianshilei1992@gmail.com> | 2021-07-20 15:45:26 -0400 |
---|---|---|
committer | Shilei Tian <tianshilei1992@gmail.com> | 2021-07-20 15:45:43 -0400 |
commit | 55c65884a41c4dec2c3efd056657cc7c590c1bcb (patch) | |
tree | e0ed82e6f3d927c26f4f06a86a42015e66e93158 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 02dff789831351ce209684beba544c04e38f19f2 (diff) | |
download | llvm-55c65884a41c4dec2c3efd056657cc7c590c1bcb.zip llvm-55c65884a41c4dec2c3efd056657cc7c590c1bcb.tar.gz llvm-55c65884a41c4dec2c3efd056657cc7c590c1bcb.tar.bz2 |
[OpenMP][deviceRTLs] Update return type of function __kmpc_parallel_level
In `deviceRTLs`, the parallel level is stored in a shared variable of type `uint8_t`.
`__kmpc_parallel_level` currently returns a 16-bit interger. This patch first
changes the return type of the function to `uint8_t`, same as the shared variable,
and then corrects function type which was updated in D105955.
Reviewed By: jdoerfert
Differential Revision: https://reviews.llvm.org/D106384
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions