[PATCH] D61901: AMDGPU: Assume xnack is enabled by default

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 14 08:09:23 PDT 2019


arsenm created this revision.
arsenm added reviewers: rampitec, t-tye, scott.linder.
Herald added subscribers: eraman, tpr, dstuttard, yaxunl, nhaehnle, wdng, jvesely, kzhuravl, qcolombet.

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.


https://reviews.llvm.org/D61901

Files:
  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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61901.199447.patch
Type: text/x-patch
Size: 8321 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190514/c8460a15/attachment.bin>


More information about the llvm-commits mailing list