[llvm] [Reassociate] Use UniformityInfo to group uniform operands together (PR #198507)
Pankaj Dwivedi via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 22 01:50:53 PDT 2026
================
@@ -2543,7 +2571,17 @@ ReassociatePass::BuildPairMap(ReversePostOrderTraversal<Function *> &RPOT) {
}
}
-PreservedAnalyses ReassociatePass::run(Function &F, FunctionAnalysisManager &) {
+PreservedAnalyses ReassociatePass::run(Function &F,
+ FunctionAnalysisManager &AM) {
+ // On targets with branch divergence, obtain UniformityInfo so we can group
+ // uniform operands together in expression trees.
+ UA = nullptr;
----------------
PankajDwivedi-25 wrote:
Fixed
https://github.com/llvm/llvm-project/pull/198507
More information about the llvm-commits
mailing list