[PATCH] D116673: [Clang][NVPTX]Add NVPTX intrinsics and builtins for CUDA PTX cvt sm80 instructions
Jack Kirk via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 5 09:50:58 PST 2022
JackAKirk created this revision.
JackAKirk added reviewers: Naghasan, tra, hiraditya, yaxunl.
JackAKirk added projects: clang, LLVM.
Herald added subscribers: asavonic, jholewinski.
JackAKirk requested review of this revision.
Herald added a subscriber: jdoerfert.
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>
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D116673
Files:
clang/include/clang/Basic/BuiltinsNVPTX.def
clang/test/CodeGen/builtins-nvptx.c
llvm/include/llvm/IR/IntrinsicsNVVM.td
llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXInstPrinter.cpp
llvm/lib/Target/NVPTX/NVPTX.h
llvm/lib/Target/NVPTX/NVPTXInstrInfo.td
llvm/lib/Target/NVPTX/NVPTXIntrinsics.td
llvm/test/CodeGen/NVPTX/convert-sm80.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116673.397621.patch
Type: text/x-patch
Size: 13793 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220105/f9aec7d5/attachment.bin>
More information about the cfe-commits
mailing list