[all-commits] [llvm/llvm-project] 6fe902: [cuda] Add address space predicate funuctions.

darkbuck via All-commits all-commits at lists.llvm.org
Tue Oct 19 13:20:35 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6fe902daf931dedf6e958b43c043cb57bb612daf
      https://github.com/llvm/llvm-project/commit/6fe902daf931dedf6e958b43c043cb57bb612daf
  Author: Michael Liao <michael.hliao at gmail.com>
  Date:   2021-10-19 (Tue, 19 Oct 2021)

  Changed paths:
    M clang/include/clang/Basic/BuiltinsNVPTX.def
    M clang/lib/Headers/__clang_cuda_runtime_wrapper.h

  Log Message:
  -----------
  [cuda] Add address space predicate funuctions.

- Add the missing NVVM predicate builtins on address space checking
- Redefine them as pure functions so that they could be used in
  __builtin_assume.

Reviewed By: tra

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




More information about the All-commits mailing list