[PATCH] D77777: [nvptx] Add `nvvm.texsurf.handle` internalizer.
Michael Liao via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 8 23:12:54 PDT 2020
hliao created this revision.
hliao added a reviewer: tra.
Herald added subscribers: cfe-commits, hiraditya, mgorny, jholewinski.
Herald added a project: clang.
- Replace them with the internal version, i.e. `nvvm.texsurf.handle.internal` just before the instruction selector.
- Teach clang codegen to generate `nvvm.texsurf.handle` instead of `nvvm.texsurf.handle.internal`.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D77777
Files:
clang/lib/CodeGen/TargetInfo.cpp
clang/test/CodeGenCUDA/surface.cu
clang/test/CodeGenCUDA/texture.cu
llvm/lib/Target/NVPTX/CMakeLists.txt
llvm/lib/Target/NVPTX/NVPTX.h
llvm/lib/Target/NVPTX/NVPTXTargetMachine.cpp
llvm/lib/Target/NVPTX/NVPTXTexSurfHandleInternalizer.cpp
llvm/test/CodeGen/NVPTX/tex-read-cuda.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77777.256191.patch
Type: text/x-patch
Size: 9972 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200409/b528eef7/attachment.bin>
More information about the cfe-commits
mailing list