AMDGPU: Add feature vi-insts
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 7 Aug 2018 07:28:46 +0000 (07:28 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 7 Aug 2018 07:28:46 +0000 (07:28 +0000)
commit96b678427a1892c5d0f0446279b0702a966b631b
tree11ac449f729ac86d1e297548bfd8afa96fb66730
parent9de1797c509f2c1416e5530656991e88ed8a36b3
AMDGPU: Add feature vi-insts

This is necessary to add a VI specific builtin,
__builtin_amdgcn_s_dcache_wb. We already have an
overly specific feature for one of these builtins,
for s_memrealtime. I'm not sure whether it's better
to add more of those, or to get rid of that and merge
it with vi-insts.

Alternatively, maybe this logically goes with scalar-stores?

llvm-svn: 339104
llvm/lib/Target/AMDGPU/AMDGPU.td
llvm/lib/Target/AMDGPU/AMDGPUSubtarget.cpp
llvm/lib/Target/AMDGPU/AMDGPUSubtarget.h