[PATCH] D141355: [AMDGPU] Add NewPM support to AMDGPUUnifyDivergentExitNodes pass

Anshil Gandhi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 10 10:12:29 PST 2023


gandhi21299 updated this revision to Diff 487868.
gandhi21299 added a comment.

- isUniformlyReached now accepts a template argument instead of a std::function to allow both pass managers to use their corresponding DivergenceAnalysis info.
- `DivergenceAnalysis::isUniform(Value &V)` -> `DivergenceAnalysis::isUniform(Value *V)`


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D141355/new/

https://reviews.llvm.org/D141355

Files:
  llvm/include/llvm/Analysis/DivergenceAnalysis.h
  llvm/lib/Target/AMDGPU/AMDGPU.h
  llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
  llvm/lib/Target/AMDGPU/AMDGPUUnifyDivergentExitNodes.cpp
  llvm/test/CodeGen/AMDGPU/si-annotate-nested-control-flows.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141355.487868.patch
Type: text/x-patch
Size: 13733 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230110/30d83614/attachment-0001.bin>


More information about the llvm-commits mailing list