[PATCH] D150861: [AMDGPU][Uniformity] SI_IF and SI_ELSE pseudos are always divergent
Sameer Sahasrabuddhe via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 18 04:23:43 PDT 2023
sameerds added inline comments.
================
Comment at: llvm/include/llvm/ADT/GenericUniformityImpl.h:1150
- if (DivergentValues.empty()) {
- assert(DivergentTermBlocks.empty());
- assert(DivergentExitCycles.empty());
+ // Control flow instructions may be divergent even if their inputs are
+ // uniform. Thus, although exceedingly rare, it is possible to have a program
----------------
I guess I should lead with "On some targets, ..."
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D150861/new/
https://reviews.llvm.org/D150861
More information about the llvm-commits
mailing list