[llvm] [Uniformity] Avoid marking all PHIs as divergent in join blocks (PR #157808)
David Stuttard via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 10 01:20:36 PDT 2025
================
@@ -455,9 +455,11 @@ template <typename ContextT> class GenericUniformityAnalysisImpl {
/// the worklist.
void taintAndPushAllDefs(const BlockT &JoinBlock);
- /// \brief Mark all phi nodes in \p JoinBlock as divergent and push them on
- /// the worklist.
- void taintAndPushPhiNodes(const BlockT &JoinBlock);
+ /// \brief Mark phi nodes in \p JoinBlock as divergent and push them on
+ /// the worklist if they are divergent over the by the path \p JoinBlock
----------------
dstutt wrote:
over the by the
https://github.com/llvm/llvm-project/pull/157808
More information about the llvm-commits
mailing list