[PATCH] D145572: [llvm][Uniformity] consistently handle uniform instructions

Sameer Sahasrabuddhe via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 8 03:40:30 PST 2023


sameerds created this revision.
Herald added subscribers: kosarev, kerbowa, hiraditya, jvesely.
Herald added a project: All.
sameerds requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

An instruction that is "always uniform" is so even if it occurs in an
irreducible cycle. The output produced by such an instruction may depend on the
implementation defined cycle hierarchy, but that does not affect the uniformity
of the output. In other words, an "always uniform" instruction is uniform even
if it is not m-converged.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D145572

Files:
  llvm/include/llvm/ADT/GenericUniformityImpl.h
  llvm/lib/Analysis/UniformityAnalysis.cpp
  llvm/lib/CodeGen/MachineUniformityAnalysis.cpp
  llvm/test/Analysis/DivergenceAnalysis/AMDGPU/irreducible/irreducible-2.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145572.503302.patch
Type: text/x-patch
Size: 3604 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230308/bf7ff0f5/attachment.bin>


More information about the llvm-commits mailing list