OSDN Git Service

NVPTX: Remove the legacy ptx intrinsics
authorJustin Bogner <mail@justinbogner.com>
Thu, 7 Jul 2016 16:40:17 +0000 (16:40 +0000)
committerJustin Bogner <mail@justinbogner.com>
Thu, 7 Jul 2016 16:40:17 +0000 (16:40 +0000)
commitcde945cbcd1ff60784383c8c08fd3f178d01e55e
tree121c5efa03e171a02a2069c320ac31cf5cfb5e88
parentca632c91aaa7cafc50942f890c49f727a046ace1
NVPTX: Remove the legacy ptx intrinsics

- Rename the ptx.read.* intrinsics to nvvm.read.ptx.sreg.* - some but
  not all of these registers were already accessible via the nvvm
  name.
- Rename ptx.bar.sync nvvm.bar.sync, to match nvvm.bar0.

There's a fair amount of code motion here, but it's all very
mechanical.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@274769 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/IntrinsicsNVVM.td
lib/Target/NVPTX/NVPTXIntrinsics.td
lib/Target/NVPTX/NVPTXTargetTransformInfo.cpp
lib/Target/NVPTX/NVVMIntrRange.cpp
test/Analysis/DivergenceAnalysis/NVPTX/diverge.ll
test/CodeGen/NVPTX/bug22322.ll
test/CodeGen/NVPTX/intrinsic-old.ll