[PATCH] D88580: [AMDGPU] Make bfe patterns divergence-aware

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 30 08:29:11 PDT 2020


foad created this revision.
foad added reviewers: arsenm, rampitec, madhur13490.
Herald added subscribers: llvm-commits, kerbowa, hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, jvesely, kzhuravl.
Herald added a project: LLVM.
foad requested review of this revision.
Herald added a subscriber: wdng.

This tends to increase code size but more importantly it reduces vgpr
usage, and could avoid costly readfirstlanes if the result needs to be
in an sgpr.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D88580

Files:
  llvm/lib/Target/AMDGPU/SIInstructions.td
  llvm/test/CodeGen/AMDGPU/amdgpu.private-memory.ll
  llvm/test/CodeGen/AMDGPU/bfe-patterns.ll
  llvm/test/CodeGen/AMDGPU/llvm.amdgcn.ubfe.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88580.295300.patch
Type: text/x-patch
Size: 5363 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200930/1e39cebe/attachment.bin>


More information about the llvm-commits mailing list