[all-commits] [llvm/llvm-project] bdf306: [LLVM][OpenMP] Correct the function signature of `...

Shilei Tian via All-commits all-commits at lists.llvm.org
Fri Jan 20 06:46:58 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bdf30603f28f5a97a63350e575e1b5cef052e7d0
      https://github.com/llvm/llvm-project/commit/bdf30603f28f5a97a63350e575e1b5cef052e7d0
  Author: Shilei Tian <i at tianshilei.me>
  Date:   2023-01-20 (Fri, 20 Jan 2023)

  Changed paths:
    M llvm/include/llvm/Frontend/OpenMP/OMPKinds.def
    M llvm/test/Transforms/OpenMP/parallel_level_fold.ll

  Log Message:
  -----------
  [LLVM][OpenMP] Correct the function signature of `__kmpc_parallel_level`

`__kmpc_parallel_level` used to be a function w/o any argument, but in the new
device runtime, it accepts two. This patch simply corrects it in `OMPKinds.def`.
```
uint16_t __kmpc_parallel_level(IdentTy *Loc, uint32_t);
```

Reviewed By: jhuber6

Differential Revision: https://reviews.llvm.org/D141655




More information about the All-commits mailing list