[Openmp-commits] [PATCH] D83268: [OpenMP][NFC] Remove unused (always fixed) arguments
Joachim Protze via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Fri Jul 24 10:06:53 PDT 2020
protze.joachim added a comment.
This patch breaks compilation of previously working code.
I added the following to `openmp/libomptarget/test/offloading/offloading_success.c`:
+// RUN: %libomptarget-compile-run-and-check-nvptx64-nvidia-cuda
which results in
# command stderr:
ptxas offloading_success-openmp-nvptx64-nvidia-cuda.s, line 173; error : Call has wrong number of parameters
ptxas fatal : Ptx assembly aborted due to errors
clang-12: error: ptxas command failed with exit code 255 (use -v to see invocation)
The file `offloading_success-openmp-nvptx64-nvidia-cuda.s` contains:
.func (.param .b32 func_retval0) __kmpc_kernel_parallel
(
.param .b64 __kmpc_kernel_parallel_param_0,
.param .b32 __kmpc_kernel_parallel_param_1
)
;
For the clang 11 release, we should either fix the codegen or revert this patch.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D83268/new/
https://reviews.llvm.org/D83268
More information about the Openmp-commits
mailing list