]> granicus.if.org Git - llvm/commit
AMDGPU: Assume xnack is enabled by default
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 16 May 2019 14:48:34 +0000 (14:48 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 16 May 2019 14:48:34 +0000 (14:48 +0000)
commita3e4b69abb3f7417fab584fb614523275205eca3
treeaf94f83c6f6834368cac542d4277de74425b6e1e
parent4ca34ad3d23c4958df5e081f32df84c92c4bb146
AMDGPU: Assume xnack is enabled by default

This is the conservatively correct default. It is always safe to
assume xnack is enabled, but not the converse.

Introduce a feature to blacklist targets where xnack can never be
meaningfully enabled. I'm not sure the targets this is applied to is
100% correct.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@360903 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/AMDGPU.td
lib/Target/AMDGPU/AMDGPUSubtarget.cpp
lib/Target/AMDGPU/AMDGPUSubtarget.h
test/CodeGen/AMDGPU/break-vmem-soft-clauses.mir
test/CodeGen/AMDGPU/spill-cfg-position.ll
test/Transforms/Inline/AMDGPU/inline-target-feature-xnack.ll [new file with mode: 0644]