[llvm] [Reassociate] Use UniformityInfo to group uniform operands together (PR #198507)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 8 01:26:31 PDT 2026
github-actions[bot] wrote:
<!--LLVM IDS CHECK COMMENT-->
:warning: LLVM ABI annotation checker, ids-check found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
Build idt from compnerd/ids, then for each changed header:
idt -p build/ --main-file <matching-source.cpp> \
--apply-fixits --inplace <header>
``````````
</details>
<details>
<summary>
View the diff from ids-check here.
</summary>
``````````diff
diff --git a/llvm/include/llvm/Transforms/Scalar/Reassociate.h b/llvm/include/llvm/Transforms/Scalar/Reassociate.h
index e3d8f604a..e87957b0b 100644
--- a/llvm/include/llvm/Transforms/Scalar/Reassociate.h
+++ b/llvm/include/llvm/Transforms/Scalar/Reassociate.h
@@ -105,7 +105,7 @@ public:
// available (e.g. on targets with branch divergence) and may be null. Both
// the new and legacy pass managers funnel through here after acquiring the
// analysis in their respective ways.
- PreservedAnalyses runImpl(Function &F, UniformityInfo *UI = nullptr);
+ LLVM_ABI PreservedAnalyses runImpl(Function &F, UniformityInfo *UI = nullptr);
private:
void BuildRankMap(Function &F, ReversePostOrderTraversal<Function *> &RPOT);
``````````
</details>
https://github.com/llvm/llvm-project/pull/198507
More information about the llvm-commits
mailing list