| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Revert "[OpenMP] Remove noinline attributes in the device runtime" The behaviour of this patch is not great, but it has some side-effects that are required for OpenMPOpt to work. The problem is that when we use -mlink-builtin-bitcode we only import used symbols from the runtime. Then OpenMPOpt will insert calls to symbols that were not previously included. This patch removed this implicit behaviour as these functions were kept alive by the noinline simply because it kept calls to them in the module. This caused regression in some tests that relied on some OpenMPOpt passes without using LTO. Reverting for the LLVM15 release but will try to fix it more correctly on main. This reverts commit d61d72dae604c3258e25c00622b1a85861450303. Fixes #56752 (cherry picked from commit b08369f7f288b6efb0897953da42ed54e60cfc0b) | 3 年前 | |
[OpenMP][FIX] Ensure __kmpc_kernel_parallel is reachable The problem is we create the call to __kmpc_kernel_parallel in the openmp-opt pass but while we optimize the code, the call is not there yet. Thus, we assume we never reach it from __kmpc_target_deinit. That allows us to remove the store in there ( ParallelRegionFn = nullptr), which leads to bad results later on. This is a shortstop solution until we come up with something better. Fixes https://github.com/llvm/llvm-project/issues/57064 (cherry picked from commit a8cda3290944687b4fd0138e63cd980ea497a438) | 3 年前 | |
[Libomptarget] Reintroduce host architecture checks for device RTL A previous patch removed the need to set the auxiliary architecture as it was no longer needed for the clang invocation after moving to using the clang frontend. However, this had a second use of preventing unsupported host architectures from building the device runtime. This caused failures when trying to build on 32-bit hosts for example. Fixes #56699 Reviewed By: tianshilei1992 Differential Revision: https://reviews.llvm.org/D130509 | 3 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 3 年前 | ||
| 3 年前 | ||
| 3 年前 |