[all-commits] [llvm/llvm-project] bef3eb: [Clang][NVPTX]Add NVPTX intrinsics and builtins fo...

JackAKirk via All-commits all-commits at lists.llvm.org
Thu Jan 13 13:34:58 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bef3eb83442a2f30c761a03793bd56c961f49cdd
      https://github.com/llvm/llvm-project/commit/bef3eb83442a2f30c761a03793bd56c961f49cdd
  Author: Jack Kirk <jack.kirk at codeplay.com>
  Date:   2022-01-13 (Thu, 13 Jan 2022)

  Changed paths:
    M clang/include/clang/Basic/BuiltinsNVPTX.def
    M clang/test/CodeGen/builtins-nvptx.c
    M llvm/include/llvm/IR/IntrinsicsNVVM.td
    M llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXInstPrinter.cpp
    M llvm/lib/Target/NVPTX/NVPTX.h
    M llvm/lib/Target/NVPTX/NVPTXInstrInfo.td
    M llvm/lib/Target/NVPTX/NVPTXIntrinsics.td
    A llvm/test/CodeGen/NVPTX/convert-sm80.ll

  Log Message:
  -----------
  [Clang][NVPTX]Add NVPTX intrinsics and builtins for CUDA PTX cvt sm80 instructions

Adds NVPTX intrinsics and builtins for CUDA PTX cvt instructions for sm80
architectures and above. Requires ptx 7.0.

PTX ISA description of cvt instructions :
https://docs.nvidia.com/cuda/parallel-thread-execution/index.html#data-movement-and-conversion-instructions-cvt

Signed-off-by: JackAKirk <jack.kirk at codeplay.com>

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




More information about the All-commits mailing list