[PATCH] D143154: [AMDGPU] Introduce divergence and uniform bit fields in tablegen

Yashwant Singh via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 2 01:10:15 PST 2023


yassingh created this revision.
yassingh added reviewers: arsenm, nhaehnle, sameerds, foad, AMDGPU.
Herald added subscribers: kosarev, StephenFan, kerbowa, hiraditya, tpr, dstuttard, yaxunl, jvesely, kzhuravl.
Herald added a project: All.
yassingh requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

IsSourceOfDivergence and IsAlwaysUniform can be set to 1 to mark instructions
which are inherently divergent or uniform. Adding them to Readlane and 
Writelane instruction for now. To be extended to all required instructions.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D143154

Files:
  llvm/lib/Target/AMDGPU/SIDefines.h
  llvm/lib/Target/AMDGPU/SIInstrFormats.td
  llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
  llvm/lib/Target/AMDGPU/SIInstrInfo.h
  llvm/lib/Target/AMDGPU/VOP1Instructions.td
  llvm/lib/Target/AMDGPU/VOP2Instructions.td
  llvm/test/Analysis/DivergenceAnalysis/AMDGPU/MIR/always-uniform.mir
  llvm/test/Analysis/DivergenceAnalysis/AMDGPU/MIR/never-uniform.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143154.494196.patch
Type: text/x-patch
Size: 5525 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230202/e9a9831c/attachment.bin>


More information about the llvm-commits mailing list