[all-commits] [llvm/llvm-project] 0a170e: [Uniformity] Propagate divergence only along diver...
Sameer Sahasrabuddhe via All-commits
all-commits at lists.llvm.org
Tue May 16 19:18:42 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0a170eb7866b72a9aae0498c20bdd4befde9fce5
https://github.com/llvm/llvm-project/commit/0a170eb7866b72a9aae0498c20bdd4befde9fce5
Author: Sameer Sahasrabuddhe <sameer.sahasrabuddhe at amd.com>
Date: 2023-05-17 (Wed, 17 May 2023)
Changed paths:
M llvm/include/llvm/ADT/GenericUniformityImpl.h
M llvm/lib/Analysis/UniformityAnalysis.cpp
M llvm/lib/CodeGen/MachineUniformityAnalysis.cpp
M llvm/test/Analysis/UniformityAnalysis/AMDGPU/MIR/always-uniform-gmir.mir
Log Message:
-----------
[Uniformity] Propagate divergence only along divergent outputs.
When an instruction is determined to be divergent, not all its outputs are
divergent. The users of only divergent outputs should now be examined for
divergence.
Also, replaced a repeating pattern of "if new divergent instruction, then add to
worklist" by combining it into a single function. This does not cause any change
in functionality.
Reviewed By: foad, arsenm
Differential Revision: https://reviews.llvm.org/D150636
More information about the All-commits
mailing list