[PATCH] D24943: [NVPTX] Added intrinsics for atom.gen.{sys|cta}.* instructions.

Artem Belevich via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 26 16:11:58 PDT 2016


tra created this revision.
tra added reviewers: jlebar, jholewinski.
tra added a subscriber: llvm-commits.
Herald added subscribers: jlebar, jholewinski.

sm_6x GPUs add atomic operations that explicitly specify set of threads that observe operation as atomic.
This patch implements these instructions along with matching intrinsics.


https://reviews.llvm.org/D24943

Files:
  include/llvm/IR/IntrinsicsNVVM.td
  lib/Target/NVPTX/NVPTX.td
  lib/Target/NVPTX/NVPTXISelLowering.cpp
  lib/Target/NVPTX/NVPTXInstrInfo.td
  lib/Target/NVPTX/NVPTXIntrinsics.td
  lib/Target/NVPTX/NVPTXSubtarget.cpp
  lib/Target/NVPTX/NVPTXSubtarget.h
  lib/Target/NVPTX/NVPTXTargetTransformInfo.cpp
  test/CodeGen/NVPTX/atomics-with-scope.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24943.72580.patch
Type: text/x-patch
Size: 30320 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160926/9a9e4b9f/attachment.bin>


More information about the llvm-commits mailing list