[PATCH] D151986: UniformityAnalysis: Skip computation with no branch divergence

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 2 04:21:45 PDT 2023


arsenm created this revision.
arsenm added reviewers: sameerds, nhaehnle, yassingh.
Herald added subscribers: foad, kerbowa, hiraditya, jvesely.
Herald added a project: All.
arsenm requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.

Check TTI before bothering to run the computation. Everything
will be assumed uniform by default.


https://reviews.llvm.org/D151986

Files:
  llvm/include/llvm/ADT/GenericUniformityImpl.h
  llvm/include/llvm/ADT/GenericUniformityInfo.h
  llvm/include/llvm/CodeGen/MachineUniformityAnalysis.h
  llvm/lib/Analysis/UniformityAnalysis.cpp
  llvm/lib/CodeGen/MachineUniformityAnalysis.cpp
  llvm/lib/Target/AMDGPU/AMDGPURegBankSelect.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151986.527805.patch
Type: text/x-patch
Size: 5154 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230602/e0bd5da9/attachment.bin>


More information about the llvm-commits mailing list