[PATCH] D20644: [NVPTX] Added NVVMIntrRange pass
Artem Belevich via llvm-commits
llvm-commits at lists.llvm.org
Wed May 25 14:10:30 PDT 2016
tra created this revision.
tra added reviewers: jholewinski, jlebar, jingyue.
tra added a subscriber: llvm-commits.
Herald added a subscriber: jholewinski.
NVVMIntrRange adds !range metadata to calls of NVVM intrinsics
that return values within known limited range.
This allows LLVM to generate better code for indexing arrays
based on tid/ctaid which is a frequently used pattern in CUDA code.
http://reviews.llvm.org/D20644
Files:
lib/Target/NVPTX/CMakeLists.txt
lib/Target/NVPTX/NVPTX.h
lib/Target/NVPTX/NVPTXTargetMachine.cpp
lib/Target/NVPTX/NVVMIntrRange.cpp
test/CodeGen/NVPTX/intrinsic-old.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20644.58507.patch
Type: text/x-patch
Size: 12316 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160525/c9c985c7/attachment.bin>
More information about the llvm-commits
mailing list